1
0
mirror of https://github.com/wolfpld/tracy synced 2025-04-29 04:23:51 +00:00

Stop playback when frame is changed with mouse scroll.

This commit is contained in:
Bartosz Taudul 2022-04-22 22:00:36 +02:00
parent 9757fcc0ef
commit 6f126ce0f5
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -15722,6 +15722,7 @@ void View::DrawPlayback()
if( tmp < 1 ) tmp = 1;
else if( (uint32_t)tmp > ficnt ) tmp = ficnt;
SetPlaybackFrame( uint32_t( tmp - 1 ) );
m_playback.pause = true;
}
ImGui::SliderFloat( "Playback speed", &m_playback.speed, 0.1f, 4, "%.2f" );