mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-01-09 12:29:35 +01:00
Ported: remove redundant check preventing checkbox theme style to apply hover_pressed. - Piralein
36ff8962cc
This commit is contained in:
parent
a3ac9c19b6
commit
685f3cb495
@ -104,7 +104,7 @@ void Button::_notification(int p_what) {
|
||||
}
|
||||
} break;
|
||||
case DRAW_HOVER_PRESSED: {
|
||||
if (has_theme_stylebox("hover_pressed") && has_theme_stylebox_override("hover_pressed")) {
|
||||
if (has_theme_stylebox("hover_pressed")) {
|
||||
style = get_theme_stylebox("hover_pressed");
|
||||
if (!flat) {
|
||||
style->draw(ci, Rect2(Point2(0, 0), size));
|
||||
|
Loading…
Reference in New Issue
Block a user