Skip to content

Commit

Permalink
window: fix window not coming back up for rendering once closed
Browse files Browse the repository at this point in the history
  • Loading branch information
jcelerier committed Jan 19, 2025
1 parent 44ba7db commit c38d97a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/plugins/score-plugin-gfx/Gfx/Graph/Window.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,11 @@ void Window::exposeEvent(QExposeEvent* ev)
m_newlyExposed = true;
}

if(isExposed())
{
m_closed = false;
}

if(isExposed() && !surfaceSize.isEmpty())
render();
}
Expand Down

0 comments on commit c38d97a

Please sign in to comment.