2
0
Эх сурвалжийг харах

Merge pull request #15356 from damarindra/tileset-properties

prevent autotile properties out of bounds
Rémi Verschelde 7 жил өмнө
parent
commit
30cd6643be

+ 1 - 0
editor/plugins/tile_set_editor_plugin.cpp

@@ -340,6 +340,7 @@ AutotileEditor::AutotileEditor(EditorNode *p_editor) {
 	property_editor = memnew(PropertyEditor);
 	property_editor->set_v_size_flags(SIZE_EXPAND_FILL);
 	property_editor->set_h_size_flags(SIZE_EXPAND_FILL);
+	property_editor->set_custom_minimum_size(Size2(10, 70));
 	split->add_child(property_editor);
 
 	helper = memnew(AutotileEditorHelper(this));