summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2020-06-24 17:21:47 +0200
committerHugo Locurcio <hugo.locurcio@hugo.pro>2020-06-24 17:21:47 +0200
commit9bd2d7a617226e7417a54fec40c163ac394a6bfc (patch)
tree4c2416f44290655eb1f69a9d216b388739a1e02d /editor
parent4c0b077faaff3f0a492bb9f48984da0b13cedc7e (diff)
Fix default editor/project Button styles after ToolButton removal
Before this fix, all Buttons made with the default project theme looked flat until hovered.
Diffstat (limited to 'editor')
-rw-r--r--editor/editor_themes.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/editor/editor_themes.cpp b/editor/editor_themes.cpp
index 5f59e6e70a..a93763810b 100644
--- a/editor/editor_themes.cpp
+++ b/editor/editor_themes.cpp
@@ -570,17 +570,8 @@ Ref<Theme> create_editor_theme(const Ref<Theme> p_theme) {
theme->set_stylebox("focus", "PopupMenu", style_menu);
theme->set_stylebox("disabled", "PopupMenu", style_menu);
- theme->set_stylebox("normal", "Button", style_menu);
- theme->set_stylebox("hover", "Button", style_menu);
- theme->set_stylebox("pressed", "Button", style_menu);
- theme->set_stylebox("focus", "Button", style_menu);
- theme->set_stylebox("disabled", "Button", style_menu);
-
theme->set_color("font_color", "MenuButton", font_color);
theme->set_color("font_color_hover", "MenuButton", font_color_hl);
- theme->set_color("font_color", "Button", font_color);
- theme->set_color("font_color_hover", "Button", font_color_hl);
- theme->set_color("font_color_pressed", "Button", accent_color);
theme->set_stylebox("MenuHover", "EditorStyles", style_menu_hover_border);