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:
parent
3e4d3efbdb
commit
eb78ecd0fd
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user