From 1c6625756838560e6bd7c6ad24b14fe430cc10db Mon Sep 17 00:00:00 2001 From: Ninni Pipping Date: Wed, 12 Apr 2023 17:45:27 +0200 Subject: [PATCH] [3.x] Don't apply scale to autohide theme property --- scene/resources/default_theme/default_theme.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scene/resources/default_theme/default_theme.cpp b/scene/resources/default_theme/default_theme.cpp index 789dd66a158..375d711e4d5 100644 --- a/scene/resources/default_theme/default_theme.cpp +++ b/scene/resources/default_theme/default_theme.cpp @@ -898,8 +898,8 @@ void fill_default_theme(Ref &theme, const Ref &default_font, const theme->set_constant("vseparation", "GridContainer", 4 * scale); theme->set_constant("separation", "HSplitContainer", 12 * scale); theme->set_constant("separation", "VSplitContainer", 12 * scale); - theme->set_constant("autohide", "HSplitContainer", 1 * scale); - theme->set_constant("autohide", "VSplitContainer", 1 * scale); + theme->set_constant("autohide", "HSplitContainer", 1); + theme->set_constant("autohide", "VSplitContainer", 1); theme->set_constant("hseparation", "HFlowContainer", 4 * scale); theme->set_constant("vseparation", "HFlowContainer", 4 * scale); theme->set_constant("hseparation", "VFlowContainer", 4 * scale);