Fix Button not listing hover_pressed stylebox

(cherry picked from commit cc11089786)
This commit is contained in:
Haoyu Qiu
2024-10-25 12:30:08 +08:00
committed by lawnjelly
parent a608af586c
commit 5548c60582
2 changed files with 4 additions and 0 deletions

View File

@ -230,6 +230,7 @@ void fill_default_theme(Ref<Theme> &theme, const Ref<Font> &default_font, const
theme->set_stylebox("normal", "Button", sb_button_normal);
theme->set_stylebox("pressed", "Button", sb_button_pressed);
theme->set_stylebox("hover", "Button", sb_button_hover);
theme->set_stylebox("hover_pressed", "Button", sb_button_hover);
theme->set_stylebox("disabled", "Button", sb_button_disabled);
theme->set_stylebox("focus", "Button", sb_button_focus);