mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-25 23:44:35 +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 = "???";
|
||||
color = 0xFF888888;
|
||||
}
|
||||
if( sym->isInline )
|
||||
{
|
||||
color = DarkenColorHalf( color );
|
||||
}
|
||||
}
|
||||
|
||||
const auto hiColor = HighlightColor( color );
|
||||
|
Loading…
Reference in New Issue
Block a user