mirror of
https://github.com/godotengine/godot.git
synced 2025-02-01 14:45:22 +00:00
Merge pull request #56954 from pycbouh/control-dont-resize-outside-tree
This commit is contained in:
commit
8396755cb6
@ -733,8 +733,10 @@ void Control::_notification(int p_notification) {
|
|||||||
} break;
|
} break;
|
||||||
case NOTIFICATION_TRANSLATION_CHANGED:
|
case NOTIFICATION_TRANSLATION_CHANGED:
|
||||||
case NOTIFICATION_LAYOUT_DIRECTION_CHANGED: {
|
case NOTIFICATION_LAYOUT_DIRECTION_CHANGED: {
|
||||||
data.is_rtl_dirty = true;
|
if (is_inside_tree()) {
|
||||||
_size_changed();
|
data.is_rtl_dirty = true;
|
||||||
|
_size_changed();
|
||||||
|
}
|
||||||
} break;
|
} break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user