mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-27 00:04:35 +00:00
Cosmetics.
This commit is contained in:
parent
2f707bd152
commit
f125254d14
@ -1050,8 +1050,7 @@ void View::DrawFrames()
|
||||
idx += group;
|
||||
}
|
||||
|
||||
const std::pair <int, int> zrange = m_worker.GetFrameRange( *m_frames, m_zvStart, m_zvEnd );
|
||||
|
||||
const auto zrange = m_worker.GetFrameRange( *m_frames, m_zvStart, m_zvEnd );
|
||||
if( zrange.second > m_frameStart && zrange.first < m_frameStart + onScreen * group )
|
||||
{
|
||||
auto x1 = std::min( onScreen * fwidth, ( zrange.second - m_frameStart ) * fwidth / group );
|
||||
|
Loading…
Reference in New Issue
Block a user