mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-22 14:44:34 +00:00
Use correct variable.
This commit is contained in:
parent
3ac65a7524
commit
852e163b72
@ -1116,7 +1116,7 @@ int View::DrawZoneLevel( const Vector<Event*>& vec, bool hover, double pxns, con
|
||||
auto& srcloc = GetSourceLocation( ev.srcloc );
|
||||
const auto color = srcloc.color != 0 ? ( srcloc.color | 0xFF000000 ) : 0xDDDD6666;
|
||||
const auto end = GetZoneEnd( ev );
|
||||
const auto zsz = ( ev.end - ev.start ) * pxns;
|
||||
const auto zsz = ( end - ev.start ) * pxns;
|
||||
if( zsz < MinVisSize )
|
||||
{
|
||||
int num = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user