Ignore layout and translation changes in Controls outside of tree
This commit is contained in:
parent
82efb1d262
commit
bcbbbeb050
|
@ -733,8 +733,10 @@ void Control::_notification(int p_notification) {
|
|||
} break;
|
||||
case NOTIFICATION_TRANSLATION_CHANGED:
|
||||
case NOTIFICATION_LAYOUT_DIRECTION_CHANGED: {
|
||||
data.is_rtl_dirty = true;
|
||||
_size_changed();
|
||||
if (is_inside_tree()) {
|
||||
data.is_rtl_dirty = true;
|
||||
_size_changed();
|
||||
}
|
||||
} break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue