Fix typo in CanvasItem visibility propagation backport
This commit is contained in:
parent
e2287a201a
commit
85be83ebbb
|
@ -371,7 +371,7 @@ void CanvasItem::_propagate_visibility_changed(bool p_visible, bool p_was_visibl
|
||||||
CanvasItem *c = Object::cast_to<CanvasItem>(get_child(i));
|
CanvasItem *c = Object::cast_to<CanvasItem>(get_child(i));
|
||||||
|
|
||||||
if (c && c->visible) { //should the toplevels stop propagation? i think so but..
|
if (c && c->visible) { //should the toplevels stop propagation? i think so but..
|
||||||
c->_propagate_visibility_changed(p_visible, !p_visible);
|
c->_propagate_visibility_changed(p_visible);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue