mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-27 08:14:34 +00:00
Fix frame selection when zoom anim is active.
This commit is contained in:
parent
a26d0bf2b4
commit
4b1c0ff0c5
@ -1240,6 +1240,7 @@ void View::DrawFrames()
|
|||||||
if( ImGui::IsMouseClicked( 0 ) )
|
if( ImGui::IsMouseClicked( 0 ) )
|
||||||
{
|
{
|
||||||
m_pause = true;
|
m_pause = true;
|
||||||
|
m_zoomAnim.active = false;
|
||||||
m_zvStart = m_worker.GetFrameBegin( *m_frames, sel );
|
m_zvStart = m_worker.GetFrameBegin( *m_frames, sel );
|
||||||
m_zvEnd = m_worker.GetFrameEnd( *m_frames, sel + group - 1 );
|
m_zvEnd = m_worker.GetFrameEnd( *m_frames, sel + group - 1 );
|
||||||
if( m_zvStart == m_zvEnd ) m_zvStart--;
|
if( m_zvStart == m_zvEnd ) m_zvStart--;
|
||||||
|
Loading…
Reference in New Issue
Block a user