summaryrefslogtreecommitdiff
path: root/endless
diff options
context:
space:
mode:
authorMatt Watson <mattdangerw@gmail.com>2016-04-19 10:23:19 -0700
committerMatt Watson <mattdangerw@gmail.com>2016-04-19 10:23:19 -0700
commit29005e65fabb433312a0db2084df3e5f73ef276d (patch)
treeb2a1db4d190862b283f2c5b4cf084dc0247ac1fd /endless
parent01b4bd4535ff676bc05df92ea2a358184cbdfb7d (diff)
window: fix font scaling
We were accidentally making sure we never scaled larger than the minimum font size. I'm pretty sure we want the opposite https://phabricator.endlessm.com/T11370
Diffstat (limited to 'endless')
-rw-r--r--endless/eoswindow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/endless/eoswindow.c b/endless/eoswindow.c
index 795d8c0..ae65310 100644
--- a/endless/eoswindow.c
+++ b/endless/eoswindow.c
@@ -490,7 +490,7 @@ eos_window_font_scale (EosWindow *self,
gdouble new_size = priv->font_scaling_default_size *
((gdouble) allocated_height / priv->font_scaling_default_window_size);
- new_size = MIN (new_size, priv->font_scaling_min_font_size);
+ new_size = MAX (new_size, priv->font_scaling_min_font_size);
if (new_size == priv->font_scaling_calculated_font_size)
return;