mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Fix impossible zoom animation.
This commit is contained in:
parent
310203101f
commit
1cf168c95e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user