瀏覽代碼

Merge pull request #15356 from damarindra/tileset-properties

prevent autotile properties out of bounds
Rémi Verschelde 7 年之前
父節點
當前提交
30cd6643be
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      editor/plugins/tile_set_editor_plugin.cpp

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