mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08: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…
x
Reference in New Issue
Block a user