Merge pull request #15356 from damarindra/tileset-properties

prevent autotile properties out of bounds
This commit is contained in:
Rémi Verschelde 2018-01-05 09:38:25 +01:00 committed by GitHub
commit 30cd6643be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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