diff --git a/scene/gui/button.cpp b/scene/gui/button.cpp index d8f8dfc7af5..b12ff3423f1 100644 --- a/scene/gui/button.cpp +++ b/scene/gui/button.cpp @@ -104,7 +104,7 @@ void Button::_notification(int p_what) { } } break; case DRAW_HOVER_PRESSED: { - if (has_stylebox("hover_pressed") && has_stylebox_override("hover_pressed")) { + if (has_stylebox("hover_pressed")) { style = get_stylebox("hover_pressed"); if (!flat) { style->draw(ci, Rect2(Point2(0, 0), size));