summaryrefslogtreecommitdiff
path: root/scene
diff options
context:
space:
mode:
authorAndreas Haas <Hinsbart@users.noreply.github.com>2017-12-06 21:57:13 +0000
committerGitHub <noreply@github.com>2017-12-06 21:57:13 +0000
commit820cdb46fd494ad0dece6efbb0e81dc57458bae3 (patch)
treedaa5565b074634c7c408687590da4bcdbb42d0cd /scene
parent4c222c28350c437e2b955b8ddef07f94ff557f07 (diff)
parent62b0799ba02acd8a025237eccf3c975d1dfbecab (diff)
Merge pull request #14329 from waldson/fix-missing-stylebox-on-linkbutton
Fix missing stylebox for LinkButton's hover states
Diffstat (limited to 'scene')
-rw-r--r--scene/resources/default_theme/default_theme.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/resources/default_theme/default_theme.cpp b/scene/resources/default_theme/default_theme.cpp
index c5feecd7c4..819d16f61f 100644
--- a/scene/resources/default_theme/default_theme.cpp
+++ b/scene/resources/default_theme/default_theme.cpp
@@ -257,6 +257,8 @@ void fill_default_theme(Ref<Theme> &theme, const Ref<Font> &default_font, const
// LinkButton
+ theme->set_stylebox("focus", "LinkButton", focus);
+
theme->set_font("font", "LinkButton", default_font);
theme->set_color("font_color", "LinkButton", control_font_color);