summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-01-05 09:38:25 +0100
committerGitHub <noreply@github.com>2018-01-05 09:38:25 +0100
commit30cd6643bea5c38128a0dc285c6aeaf0185d2e7b (patch)
tree98109edaa54c89e76836f821e4d2a6a243e6f425 /editor
parent5322ed05c722d64f4f9c610328eea2117c111879 (diff)
parent0ae4ca706663242cab5aaa3854bcd52f94db9d1d (diff)
Merge pull request #15356 from damarindra/tileset-properties
prevent autotile properties out of bounds
Diffstat (limited to 'editor')
-rw-r--r--editor/plugins/tile_set_editor_plugin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/plugins/tile_set_editor_plugin.cpp b/editor/plugins/tile_set_editor_plugin.cpp
index f1870807c2..b5ff94a056 100644
--- a/editor/plugins/tile_set_editor_plugin.cpp
+++ b/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));