diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-06-24 17:48:55 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-06-24 17:48:55 +0200 |
commit | 398d1d4ef9544b80b18a714e31f38f802f360c46 (patch) | |
tree | 021968ea5424a86238d22362606f9f4d1a8208dc | |
parent | c5260fb3753b864ce5a7d6f8ccc5ceea9e894774 (diff) | |
parent | ea5fe1df81cf1f185627e95f0cbddb5c5fde6113 (diff) | |
download | redot-engine-398d1d4ef9544b80b18a714e31f38f802f360c46.tar.gz |
Merge pull request #93520 from passivestar/main-screen-button-mirror
Add missing RTL styles for MainScreenButton
-rw-r--r-- | editor/themes/editor_theme_manager.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/editor/themes/editor_theme_manager.cpp b/editor/themes/editor_theme_manager.cpp index 86a184903c..9f0865d950 100644 --- a/editor/themes/editor_theme_manager.cpp +++ b/editor/themes/editor_theme_manager.cpp @@ -1817,9 +1817,13 @@ void EditorThemeManager::_populate_editor_styles(const Ref<EditorTheme> &p_theme main_screen_button_hover->set_content_margin((Side)i, p_config.button_style_hover->get_content_margin((Side)i)); } p_theme->set_stylebox(CoreStringName(normal), "MainScreenButton", menu_transparent_style); + p_theme->set_stylebox("normal_mirrored", "MainScreenButton", menu_transparent_style); p_theme->set_stylebox(SceneStringName(pressed), "MainScreenButton", menu_transparent_style); + p_theme->set_stylebox("pressed_mirrored", "MainScreenButton", menu_transparent_style); p_theme->set_stylebox("hover", "MainScreenButton", main_screen_button_hover); + p_theme->set_stylebox("hover_mirrored", "MainScreenButton", main_screen_button_hover); p_theme->set_stylebox("hover_pressed", "MainScreenButton", main_screen_button_hover); + p_theme->set_stylebox("hover_pressed_mirrored", "MainScreenButton", main_screen_button_hover); p_theme->set_type_variation("MainMenuBar", "FlatMenuButton"); p_theme->set_stylebox(CoreStringName(normal), "MainMenuBar", menu_transparent_style); |