From 3752e8f52ea099e9a3e1b5985246e722a137a3c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Thu, 9 Dec 2021 11:17:16 +0100 Subject: [PATCH] Fix mid-air conflict between #55299 and #55692 --- editor/plugins/material_editor_plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/plugins/material_editor_plugin.cpp b/editor/plugins/material_editor_plugin.cpp index f133d9d4150..68107d463d6 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);