mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-30 09:14:36 +00:00
Pause playback when playback window is closed.
This commit is contained in:
parent
461f49feb8
commit
7a878cf4c7
@ -9351,6 +9351,10 @@ void View::DrawPlayback()
|
|||||||
}
|
}
|
||||||
|
|
||||||
ImGui::Begin( "Playback", &m_showPlayback, ImGuiWindowFlags_AlwaysAutoResize );
|
ImGui::Begin( "Playback", &m_showPlayback, ImGuiWindowFlags_AlwaysAutoResize );
|
||||||
|
if( !m_showPlayback )
|
||||||
|
{
|
||||||
|
m_playback.pause = true;
|
||||||
|
}
|
||||||
if( m_playback.zoom )
|
if( m_playback.zoom )
|
||||||
{
|
{
|
||||||
if( fi->flip )
|
if( fi->flip )
|
||||||
|
Loading…
Reference in New Issue
Block a user