Merge pull request #75367 from Calinou/disable-advanced-gui-keep-margincontainer

Make MarginContainer available with `disable_advanced_gui=yes`
This commit is contained in:
Yuri Sizov 2023-03-27 11:37:37 +02:00 committed by GitHub
commit b136677fac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -385,6 +385,7 @@ void register_scene_types() {
GDREGISTER_CLASS(FlowContainer);
GDREGISTER_CLASS(HFlowContainer);
GDREGISTER_CLASS(VFlowContainer);
GDREGISTER_CLASS(MarginContainer);
OS::get_singleton()->yield(); // may take time to init
@ -419,7 +420,6 @@ void register_scene_types() {
GDREGISTER_CLASS(AcceptDialog);
GDREGISTER_CLASS(ConfirmationDialog);
GDREGISTER_CLASS(MarginContainer);
GDREGISTER_CLASS(SubViewportContainer);
GDREGISTER_CLASS(SplitContainer);
GDREGISTER_CLASS(HSplitContainer);