mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 15:21:56 -05:00
[3.x] Don't apply scale to autohide theme property
(cherry picked from commit 1c66257568)
This commit is contained in:
committed by
Rémi Verschelde
parent
42f9208593
commit
59547227ab
@@ -890,8 +890,8 @@ void fill_default_theme(Ref<Theme> &theme, const Ref<Font> &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);
|
||||
|
||||
Reference in New Issue
Block a user