소스 검색

Fix mid-air conflict between #55299 and #55692

Rémi Verschelde 3 년 전
부모
커밋
3752e8f52e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      editor/plugins/material_editor_plugin.cpp

+ 1 - 1
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);