summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorJose M Pan <josempans@gmail.com>2017-05-09 14:35:48 -0300
committerJose M Pan <josempans@gmail.com>2017-05-09 14:35:48 -0300
commit02f02972e87f589199d3ab2bb3c74901d2108694 (patch)
treeacb1540c4ec95eadac28bc4dce5eebc947124c89 /editor
parent32afcbc48258ea970ef4b0707f69543baf0f2f5a (diff)
Fix click area for bool parameter
This fixes the issue #8551: VisualScript: can't change bool parameter in function call
Diffstat (limited to 'editor')
-rw-r--r--editor/property_editor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/property_editor.cpp b/editor/property_editor.cpp
index 5ff5e680f6..3dd9ba080c 100644
--- a/editor/property_editor.cpp
+++ b/editor/property_editor.cpp
@@ -323,7 +323,7 @@ bool CustomPropertyEditor::edit(Object *p_owner, const String &p_name, Variant::
c->show();
checks20gc->set_size(checks20gc->get_minimum_size());
- set_size(checks20gc->get_position() + checks20gc->get_size() + Vector2(4, 4) * EDSCALE);
+ set_size(checks20gc->get_position() + checks20gc->get_size() + c->get_size() + Vector2(4, 4) * EDSCALE);
} break;
case Variant::INT: