1
0
mirror of https://github.com/wolfpld/tracy synced 2025-05-01 05:03:53 +00:00

Display frame number in playback window.

This commit is contained in:
Bartosz Taudul 2019-08-26 19:01:59 +02:00
parent 3e4d3efbdb
commit eb78ecd0fd

View File

@ -10414,6 +10414,8 @@ void View::DrawPlayback()
ImGui::SameLine(); ImGui::SameLine();
ImGui::Checkbox( "Zoom 2x", &m_playback.zoom ); ImGui::Checkbox( "Zoom 2x", &m_playback.zoom );
TextFocused( "Timestamp:", TimeToString( tstart ) ); TextFocused( "Timestamp:", TimeToString( tstart ) );
ImGui::SameLine();
TextFocused( "Frame:", RealToString( GetFrameNumber( *frameSet, fi->frameRef, m_worker.GetFrameOffset() ), true) );
ImGui::End(); ImGui::End();
} }