Merge pull request #67507 from Sauermann/fix-toplevel-root-control-node
Fix event propagation to child after set_as_toplevel
This commit is contained in:
@ -692,6 +692,12 @@ Transform2D Control::get_transform() const {
|
||||
return xform;
|
||||
}
|
||||
|
||||
void Control::_toplevel_changed_on_parent() {
|
||||
// Update root control status.
|
||||
_notification(NOTIFICATION_EXIT_CANVAS);
|
||||
_notification(NOTIFICATION_ENTER_CANVAS);
|
||||
}
|
||||
|
||||
/// Anchors and offsets.
|
||||
|
||||
void Control::_set_anchor(Side p_side, real_t p_anchor) {
|
||||
|
||||
Reference in New Issue
Block a user