Fix invalid UIControl event blocking for prefab editor
This commit is contained in:
@@ -155,9 +155,6 @@ void UIControl::OnParentChanged()
|
|||||||
// Base
|
// Base
|
||||||
Actor::OnParentChanged();
|
Actor::OnParentChanged();
|
||||||
|
|
||||||
if (!IsDuringPlay())
|
|
||||||
return;
|
|
||||||
|
|
||||||
UICONTROL_INVOKE(ParentChanged);
|
UICONTROL_INVOKE(ParentChanged);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user