diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2021-12-09 11:40:46 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2021-12-09 11:40:46 +0100 |
commit | 31ded7e126b9d71ed8dddab9ffc1ce813f1a8ec2 (patch) | |
tree | 766f5acc80d47b43bee4d919b5e4fd5715c4daf6 /editor/plugins/material_editor_plugin.cpp | |
parent | 3752e8f52ea099e9a3e1b5985246e722a137a3c2 (diff) |
Fixup last commit, change misleading CodeEditor for consistency
Diffstat (limited to 'editor/plugins/material_editor_plugin.cpp')
-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 68107d463d..bfbe6e26a9 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(ALIGNMENT_CENTER); + layout_2d->set_alignment(BoxContainer::ALIGNMENT_CENTER); add_child(layout_2d); layout_2d->set_anchors_and_offsets_preset(PRESET_WIDE); |