fix layout designer

This commit is contained in:
2019-09-26 17:48:38 +02:00
parent e406f7964c
commit 8b179260fb
9 changed files with 27 additions and 11 deletions

View File

@@ -51,5 +51,6 @@ kEventResult NodeMessageBox::handle_event(Event* e)
void NodeMessageBox::added(Node* parent)
{
Node::added(parent);
mouse_capture();
if (added_to_root())
mouse_capture();
}