mirror of
https://github.com/godotengine/godot.git
synced 2025-01-18 07:51:34 +00:00
Fix click area for bool parameter
This fixes the issue #8551: VisualScript: can't change bool parameter in function call
This commit is contained in:
parent
32afcbc482
commit
02f02972e8
@ -323,7 +323,7 @@ bool CustomPropertyEditor::edit(Object *p_owner, const String &p_name, Variant::
|
|||||||
c->show();
|
c->show();
|
||||||
|
|
||||||
checks20gc->set_size(checks20gc->get_minimum_size());
|
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;
|
} break;
|
||||||
case Variant::INT:
|
case Variant::INT:
|
||||||
|
Loading…
Reference in New Issue
Block a user