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

@@ -59,7 +59,7 @@ kEventResult NodeColorPicker::handle_event(Event* e)
m_color_old->m_color = m_color_cur->m_color;
}
mouse_release();
parent->remove_child(this);
m_parent->remove_child(this);
if (on_popup_close)
on_popup_close(this);
}