You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-07 19:53:17 +00:00
Always cache parent visibility in CanvasItem
(cherry picked from commit fd6a743823)
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user