You've already forked godot
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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user