Merge pull request #75890 from YuriSizov/gui-remember-window-state

Always cache parent visibility in `CanvasItem`
This commit is contained in:
Yuri Sizov 2023-04-18 13:07:41 +02:00 committed by GitHub
commit 377d8845da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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() {