From 77b6ef785aa72bff203a5bf2d0ccdc8c1ea05196 Mon Sep 17 00:00:00 2001 From: NiLuJe Date: Thu, 12 Sep 2024 20:28:00 +0200 Subject: [PATCH] koptoptions: Stop making page gap a special snowflake Use the user-preferred display unit for dimensions. --- frontend/ui/data/koptoptions.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/frontend/ui/data/koptoptions.lua b/frontend/ui/data/koptoptions.lua index 504030b60..bd08c26f2 100644 --- a/frontend/ui/data/koptoptions.lua +++ b/frontend/ui/data/koptoptions.lua @@ -359,8 +359,7 @@ left to right or reverse, top to bottom or reverse.]]), return optionsutil.enableIfEquals(configurable, "page_scroll", 1) end, name_text_hold_callback = optionsutil.showValues, - name_text_true_values = true, - name_text_unit = "px", -- values go through scaleBySize in the event handler + name_text_unit = true, help_text = _([[In continuous view mode, sets the thickness of the separator between document pages.]]), more_options = true, more_options_param = {