mirror of
https://github.com/wolfpld/tracy
synced 2025-04-29 12:23:53 +00:00
Further as-needed compression of jump graph.
This commit is contained in:
parent
11258fab73
commit
e3eead78a8
@ -231,7 +231,9 @@ constexpr float JumpArrowBase = 9;
|
||||
float SourceView::CalcJumpSeparation( float scale )
|
||||
{
|
||||
float jsb = JumpSeparationBase;
|
||||
if( m_maxJumpLevel > 45 ) jsb -= 3;
|
||||
if( m_maxJumpLevel > 75 ) jsb -= 5;
|
||||
else if( m_maxJumpLevel > 60 ) jsb -= 4;
|
||||
else if( m_maxJumpLevel > 45 ) jsb -= 3;
|
||||
else if( m_maxJumpLevel > 30 ) jsb -= 2;
|
||||
else if( m_maxJumpLevel > 15 ) jsb -= 1;
|
||||
return round( jsb * scale );
|
||||
|
Loading…
x
Reference in New Issue
Block a user