mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Distinguish fiber threads with green color.
This commit is contained in:
parent
bb72bf10e9
commit
e5c44afdcb
@ -3304,7 +3304,10 @@ void View::DrawZones()
|
||||
{
|
||||
DrawLine( draw, dpos + ImVec2( 0, oldOffset + ostep - 1 ), dpos + ImVec2( w, oldOffset + ostep - 1 ), 0x33FFFFFF );
|
||||
|
||||
const auto labelColor = crash.thread == v->id ? ( showFull ? 0xFF2222FF : 0xFF111188 ) : ( showFull ? 0xFFFFFFFF : 0xFF888888 );
|
||||
uint32_t labelColor;
|
||||
if( crash.thread == v->id ) labelColor = showFull ? 0xFF2222FF : 0xFF111188;
|
||||
else if( v->isFiber ) labelColor = showFull ? 0xFF88FF88 : 0xFF448844;
|
||||
else labelColor = showFull ? 0xFFFFFFFF : 0xFF888888;
|
||||
|
||||
if( showFull )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user