mirror of
https://github.com/wolfpld/tracy
synced 2026-02-15 01:32:13 +00:00
Right-click on a frame to set frame in playback.
This commit is contained in:
@@ -1680,6 +1680,13 @@ bool View::DrawZoneFrames( const FrameData& frames )
|
||||
{
|
||||
ImGui::Image( m_frameTexture, ImVec2( fi->w, fi->h ) );
|
||||
}
|
||||
|
||||
if( ImGui::IsMouseClicked( 1 ) )
|
||||
{
|
||||
m_showPlayback = true;
|
||||
m_playback.pause = true;
|
||||
m_playback.frame = frames.frames[i].frameImage;
|
||||
}
|
||||
}
|
||||
ImGui::EndTooltip();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user