Merge pull request #2533 from eska014/fix-visibility-notification-propagation
Fix propagation of `NOTIFICATION_VISIBILITY_CHANGED`
This commit is contained in:
commit
10e7871091
1 changed files with 1 additions and 1 deletions
|
@ -265,7 +265,7 @@ void CanvasItem::_propagate_visibility_changed(bool p_visible) {
|
|||
|
||||
CanvasItem *c=get_child(i)->cast_to<CanvasItem>();
|
||||
|
||||
if (c && c->hidden!=p_visible) //should the toplevels stop propagation? i think so but..
|
||||
if (c && !c->hidden) //should the toplevels stop propagation? i think so but..
|
||||
c->_propagate_visibility_changed(p_visible);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue