Revert "Fix Button not listing hover_pressed stylebox"

This reverts commit cc11089786.

(cherry picked from commit 62feeaab33)
This commit is contained in:
Haoyu Qiu 2025-06-19 12:06:28 +08:00 committed by Rémi Verschelde
parent 0e1cda420f
commit 45e30e4438
No known key found for this signature in database
GPG key ID: C3336907360768E1
2 changed files with 0 additions and 4 deletions

View file

@ -113,9 +113,6 @@
<theme_item name="hover" data_type="style" type="StyleBox">
[StyleBox] used when the [Button] is being hovered.
</theme_item>
<theme_item name="hover_pressed" data_type="style" type="StyleBox">
[StyleBox] used when the [Button] is being hovered and pressed.
</theme_item>
<theme_item name="normal" data_type="style" type="StyleBox">
Default [StyleBox] for the [Button].
</theme_item>

View file

@ -230,7 +230,6 @@ 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);