rename parent to m_parent and add floating panel class

This commit is contained in:
2019-03-20 22:28:44 +01:00
parent e635ad00a8
commit 929e80a218
14 changed files with 151 additions and 42 deletions

View File

@@ -324,7 +324,7 @@ kEventResult NodePanelGrid::handle_event(Event* e)
if (!m_mouse_inside)
{
mouse_release();
parent->remove_child(this);
m_parent->remove_child(this);
if (on_popup_close)
on_popup_close(this);
}