Fix impossible zoom animation.

This commit is contained in:
Bartosz Taudul 2018-07-29 20:23:31 +02:00
parent 310203101f
commit 1cf168c95e

View File

@ -6075,6 +6075,11 @@ void View::ZoomToZone( const GpuEvent& ev )
void View::ZoomToRange( int64_t start, int64_t end )
{
if( start == end )
{
end = start + 1;
}
m_pause = true;
m_highlightZoom.active = false;
m_zoomAnim.active = true;