summaryrefslogtreecommitdiff
path: root/scene
diff options
context:
space:
mode:
authorNinni Pipping <over999ships@gmail.com>2023-04-12 17:40:40 +0200
committerYuri Sizov <yuris@humnom.net>2023-04-24 16:28:29 +0200
commitccc761dd93566cec98ee3f1608d4c4da709f308f (patch)
tree4ce105be17c990c86b776c2289393d1f9f496abf /scene
parent2992a996293894d0b74b2129adaaea430a24cec7 (diff)
Don't apply scale to autohide theme property
(cherry picked from commit 722597aa97753a12bc5cd643c6350431f45e7d0b)
Diffstat (limited to 'scene')
-rw-r--r--scene/resources/default_theme/default_theme.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/scene/resources/default_theme/default_theme.cpp b/scene/resources/default_theme/default_theme.cpp
index 2e1ba96d11..11373c430c 100644
--- a/scene/resources/default_theme/default_theme.cpp
+++ b/scene/resources/default_theme/default_theme.cpp
@@ -1069,9 +1069,9 @@ void fill_default_theme(Ref<Theme> &theme, const Ref<Font> &default_font, const
theme->set_constant("minimum_grab_thickness", "SplitContainer", 6 * scale);
theme->set_constant("minimum_grab_thickness", "HSplitContainer", 6 * scale);
theme->set_constant("minimum_grab_thickness", "VSplitContainer", 6 * scale);
- theme->set_constant("autohide", "SplitContainer", 1 * scale);
- theme->set_constant("autohide", "HSplitContainer", 1 * scale);
- theme->set_constant("autohide", "VSplitContainer", 1 * scale);
+ theme->set_constant("autohide", "SplitContainer", 1);
+ theme->set_constant("autohide", "HSplitContainer", 1);
+ theme->set_constant("autohide", "VSplitContainer", 1);
theme->set_constant("h_separation", "FlowContainer", 4 * scale);
theme->set_constant("v_separation", "FlowContainer", 4 * scale);
theme->set_constant("h_separation", "HFlowContainer", 4 * scale);