mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-12 19:31:47 +00:00
Right-click on a frame to set frame in playback.
This commit is contained in:
parent
796ca57067
commit
bdfd2c07be
@ -1680,6 +1680,13 @@ bool View::DrawZoneFrames( const FrameData& frames )
|
|||||||
{
|
{
|
||||||
ImGui::Image( m_frameTexture, ImVec2( fi->w, fi->h ) );
|
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();
|
ImGui::EndTooltip();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user