fix layout designer
This commit is contained in:
@@ -52,6 +52,9 @@ kEventResult NodeInputBox::handle_event(Event* e)
|
||||
void NodeInputBox::added(Node* parent)
|
||||
{
|
||||
Node::added(parent);
|
||||
mouse_capture();
|
||||
m_field_text->key_capture();
|
||||
if (added_to_root())
|
||||
{
|
||||
mouse_capture();
|
||||
m_field_text->key_capture();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user