Pause playback when playback window is closed.

This commit is contained in:
Bartosz Taudul 2019-07-29 01:51:45 +02:00
parent 461f49feb8
commit 7a878cf4c7

View File

@ -9351,6 +9351,10 @@ void View::DrawPlayback()
}
ImGui::Begin( "Playback", &m_showPlayback, ImGuiWindowFlags_AlwaysAutoResize );
if( !m_showPlayback )
{
m_playback.pause = true;
}
if( m_playback.zoom )
{
if( fi->flip )