mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 02:31:48 +00:00
Expand maximum view span from 1 minute to 1 hour.
This commit is contained in:
parent
cb298893e7
commit
ad91b9b002
@ -666,7 +666,7 @@ void View::HandleZoneViewMouse( int64_t timespan, const ImVec2& wpos, float w, d
|
||||
m_zvStart += int64_t( p1 * 0.25 );
|
||||
m_zvEnd -= int64_t( p2 * 0.25 );
|
||||
}
|
||||
else if( timespan < 1000ll * 1000 * 1000 * 60 )
|
||||
else if( timespan < 1000ll * 1000 * 1000 * 60 * 60 )
|
||||
{
|
||||
m_zvStart -= std::max( int64_t( 1 ), int64_t( p1 * 0.25 ) );
|
||||
m_zvEnd += std::max( int64_t( 1 ), int64_t( p2 * 0.25 ) );
|
||||
|
Loading…
Reference in New Issue
Block a user