From 59547227ab9d09e320d4788001491f5d25f6864a 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 (cherry picked from commit 1c6625756838560e6bd7c6ad24b14fe430cc10db) --- 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 2f652fea96f..527a7713c29 100644 --- a/scene/resources/default_theme/default_theme.cpp +++ b/scene/resources/default_theme/default_theme.cpp @@ -890,8 +890,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);