From e548412b8eb5c02024645e790745a41ac1ba1192 Mon Sep 17 00:00:00 2001 From: Phil Jones Date: Thu, 8 Sep 2022 14:29:36 +0100 Subject: Make --scale default to true. This also stops font sizes from scaling when --scale=false is set. --- src/config.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'src/config.c') diff --git a/src/config.c b/src/config.c index e1a30b8..7e5fb6b 100644 --- a/src/config.c +++ b/src/config.c @@ -369,17 +369,10 @@ void config_fixup_values(struct tofi *tofi) { uint32_t scale = tofi->window.scale; - /* - * Scale fonts to the correct size. - * - * TODO: In the next release (0.6.0), this should be moved within - * the use_scale conditional. - */ - tofi->window.entry.font_size *= scale; - if (tofi->use_scale) { struct entry *entry = &tofi->window.entry; + tofi->window.entry.font_size *= scale; entry->prompt_padding *= scale; entry->corner_radius *= scale; entry->selection_background_padding *= scale; -- cgit v1.2.3