1
0
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:
kobewi
2022-02-19 13:24:35 +01:00
parent 3b3916f4f0
commit 3a77484f70
4 changed files with 25 additions and 18 deletions

View File

@@ -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;
}
}
}