Ildaeil: Separate drawing and idle logic, fixing some crashes

This commit is contained in:
falkTX 2021-11-14 21:08:32 +00:00
parent 0fa7cbd349
commit ae3097809b
3 changed files with 126 additions and 101 deletions

View file

@ -251,6 +251,8 @@ public:
{
rack::contextSet(context);
context->nativeWindowId = 0;
rack::widget::Widget* const menuBar = context->scene->menuBar;
context->scene->menuBar = nullptr;
context->scene->removeChild(menuBar);