1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Fixup last commit, change misleading CodeEditor for consistency

This commit is contained in:
Rémi Verschelde
2021-12-09 11:40:46 +01:00
parent 3752e8f52e
commit 31ded7e126
2 changed files with 4 additions and 4 deletions

View File

@@ -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);