add popup tick to stroke panel

This commit is contained in:
2019-01-31 15:57:37 +01:00
parent 6159e71eed
commit 91d6905238
4 changed files with 25 additions and 2 deletions

View File

@@ -83,6 +83,8 @@ kEventResult NodePanelBrush::handle_event(Event* e)
{
mouse_release();
parent->remove_child(this);
if (on_popup_close)
on_popup_close(this);
}
break;
default:
@@ -259,6 +261,8 @@ kEventResult NodePanelBrushPreset::handle_event(Event* e)
{
mouse_release();
parent->remove_child(this);
if (on_popup_close)
on_popup_close(this);
}
break;
default: