You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-12 13:20:55 +00:00
Fix CanvasItem visibility propagation
This commit is contained in:
@@ -61,7 +61,7 @@ void CanvasLayer::set_visible(bool p_visible) {
|
||||
if (c->is_visible()) {
|
||||
c->_propagate_visibility_changed(p_visible);
|
||||
} else {
|
||||
c->notification(CanvasItem::NOTIFICATION_VISIBILITY_CHANGED);
|
||||
c->parent_visible_in_tree = p_visible;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user