diff --git a/scene/main/canvas_item.cpp b/scene/main/canvas_item.cpp index 72fb8387320..419e5d5c069 100644 --- a/scene/main/canvas_item.cpp +++ b/scene/main/canvas_item.cpp @@ -341,9 +341,7 @@ void CanvasItem::_notification(int p_what) { } void CanvasItem::_window_visibility_changed() { - if (visible) { - _propagate_visibility_changed(window->is_visible()); - } + _propagate_visibility_changed(window->is_visible()); } void CanvasItem::queue_redraw() {