diff --git a/doc/classes/Button.xml b/doc/classes/Button.xml index a1ac82012f9..8908c5f8309 100644 --- a/doc/classes/Button.xml +++ b/doc/classes/Button.xml @@ -124,6 +124,9 @@ Text [Color] used when the [Button] is being hovered. + + Text [Color] used when the [Button] is being hovered and pressed. + Text outline [Color] of the [Button]. @@ -149,7 +152,7 @@ Icon modulate [Color] used when the [Button] is being hovered and pressed. - Default icon [Color] of the [Button]. + Default icon modulate [Color] of the [Button]. Icon modulate [Color] used when the [Button] is being pressed. diff --git a/scene/resources/default_theme/default_theme.cpp b/scene/resources/default_theme/default_theme.cpp index 80ecff52f18..242c3b8ec4f 100644 --- a/scene/resources/default_theme/default_theme.cpp +++ b/scene/resources/default_theme/default_theme.cpp @@ -188,6 +188,7 @@ void fill_default_theme(Ref &theme, const Ref &default_font, const theme->set_color("font_color", "Button", control_font_color); theme->set_color("font_pressed_color", "Button", control_font_pressed_color); theme->set_color("font_hover_color", "Button", control_font_hover_color); + theme->set_color("font_hover_pressed_color", "Button", control_font_pressed_color); theme->set_color("font_disabled_color", "Button", control_font_disabled_color); theme->set_color("font_outline_color", "Button", Color(1, 1, 1));