summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-04-06 09:17:50 +0200
committerGitHub <noreply@github.com>2020-04-06 09:17:50 +0200
commit11f31a732922571bf6e0398a5192132ae67aee16 (patch)
treeaed8b76ab2423bb7f1545e3b2cfa098c38174ca8 /editor
parent1140871f7e5b627bcd5c11e073975ed21421a95c (diff)
parent0671d7b2768ddcfb8738e90a00ef767a4f4ce91e (diff)
Merge pull request #37613 from pycbouh/linkbutton-missing-colors
Add missing LinkButton colors in Editor Theme
Diffstat (limited to 'editor')
-rw-r--r--editor/editor_themes.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/editor/editor_themes.cpp b/editor/editor_themes.cpp
index 663068b2b5..a9af29ddf2 100644
--- a/editor/editor_themes.cpp
+++ b/editor/editor_themes.cpp
@@ -997,6 +997,9 @@ Ref<Theme> create_editor_theme(const Ref<Theme> p_theme) {
// LinkButton
theme->set_stylebox("focus", "LinkButton", style_empty);
theme->set_color("font_color", "LinkButton", font_color);
+ theme->set_color("font_color_hover", "LinkButton", font_color_hl);
+ theme->set_color("font_color_pressed", "LinkButton", accent_color);
+ theme->set_color("font_color_disabled", "LinkButton", font_color_disabled);
// TooltipPanel
Ref<StyleBoxFlat> style_tooltip = style_popup->duplicate();