diff options
author | Ninni Pipping <over999ships@gmail.com> | 2023-04-12 17:40:40 +0200 |
---|---|---|
committer | Ninni Pipping <over999ships@gmail.com> | 2023-04-12 17:40:40 +0200 |
commit | 722597aa97753a12bc5cd643c6350431f45e7d0b (patch) | |
tree | 269b79f03f05eab44138682feac5f1a6d7b963aa /scene/resources/default_theme | |
parent | d4dad2b2f88968ff329145f3dab5290478bae886 (diff) | |
download | redot-engine-722597aa97753a12bc5cd643c6350431f45e7d0b.tar.gz |
Don't apply scale to autohide theme property
Diffstat (limited to 'scene/resources/default_theme')
-rw-r--r-- | scene/resources/default_theme/default_theme.cpp | 6 |
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 8addcea215..a70cdeda20 100644 --- a/scene/resources/default_theme/default_theme.cpp +++ b/scene/resources/default_theme/default_theme.cpp @@ -1080,9 +1080,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); |