Merge pull request #37613 from pycbouh/linkbutton-missing-colors

Add missing LinkButton colors in Editor Theme
This commit is contained in:
Rémi Verschelde 2020-04-06 09:17:50 +02:00 committed by GitHub
commit 11f31a7329
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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();