Fix graph font sizes (#14550)

flipped big and small
This commit is contained in:
Tony Murray
2022-10-31 21:01:35 -05:00
committed by GitHub
parent 7d9f22705f
commit e864ed7795

View File

@ -85,7 +85,7 @@ class GraphParameters
$this->font = Config::get('mono_font');
$this->font_color = Clean::alphaDash($vars['font']);
$this->font_size = $this->width <= self::MEDIUM_SMALL ? 8 : 7;
$this->font_size = $this->width <= self::MEDIUM_SMALL ? 7 : 8;
$this->canvas = Clean::alphaDash($vars['bg'] ?? '');
$this->background = Clean::alphaDash($vars['bbg'] ?? '');