diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2021-12-09 11:17:16 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2021-12-09 11:17:16 +0100 |
commit | 3752e8f52ea099e9a3e1b5985246e722a137a3c2 (patch) | |
tree | 9d1a6ff32e3c699ea2f8de21c6fd9fa4a751e6f4 | |
parent | 41e5f9227c3da58df2efbdf9819594cfa66a3294 (diff) | |
download | redot-engine-3752e8f52ea099e9a3e1b5985246e722a137a3c2.tar.gz |
Fix mid-air conflict between #55299 and #55692
-rw-r--r-- | editor/plugins/material_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/material_editor_plugin.cpp b/editor/plugins/material_editor_plugin.cpp index f133d9d415..68107d463d 100644 --- a/editor/plugins/material_editor_plugin.cpp +++ b/editor/plugins/material_editor_plugin.cpp @@ -125,7 +125,7 @@ MaterialEditor::MaterialEditor() { // canvas item layout_2d = memnew(HBoxContainer); - layout_2d->set_alignment(BoxContainer::ALIGN_CENTER); + layout_2d->set_alignment(ALIGNMENT_CENTER); add_child(layout_2d); layout_2d->set_anchors_and_offsets_preset(PRESET_WIDE); |