Cosmetics.

This commit is contained in:
Bartosz Taudul 2019-06-22 23:59:57 +02:00
parent 2f707bd152
commit f125254d14

View File

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