Always cache parent visibility in CanvasItem

This commit is contained in:
Yuri Sizov 2023-04-10 16:18:46 +02:00
parent 220953b625
commit fd6a743823
1 changed files with 1 additions and 3 deletions

View File

@ -350,9 +350,7 @@ void CanvasItem::update_draw_order() {
}
void CanvasItem::_window_visibility_changed() {
if (visible) {
_propagate_visibility_changed(window->is_visible());
}
_propagate_visibility_changed(window->is_visible());
}
void CanvasItem::queue_redraw() {