2
0
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:
Bartosz Taudul
2019-06-12 23:14:19 +02:00
parent 796ca57067
commit bdfd2c07be

View File

@@ -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();