mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-22 14:44:34 +00:00
Darken inline items in flame graph.
This commit is contained in:
parent
2ac51fb597
commit
e8a9d228c5
@ -207,6 +207,10 @@ void View::DrawFlameGraphItem( const FlameGraphItem& item, FlameGraphContext& ct
|
|||||||
name = "???";
|
name = "???";
|
||||||
color = 0xFF888888;
|
color = 0xFF888888;
|
||||||
}
|
}
|
||||||
|
if( sym->isInline )
|
||||||
|
{
|
||||||
|
color = DarkenColorHalf( color );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const auto hiColor = HighlightColor( color );
|
const auto hiColor = HighlightColor( color );
|
||||||
|
Loading…
Reference in New Issue
Block a user