Mark activity on frame times histogram highlight.

This commit is contained in:
Bartosz Taudul 2022-09-28 01:07:42 +02:00
parent 1db9681ee2
commit 29c7b5f259
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -675,6 +675,7 @@ void View::DrawInfo()
const auto c = uint32_t( ( sin( s_time * 10 ) * 0.25 + 0.75 ) * 255 );
const auto color = 0xFF000000 | ( c << 16 ) | ( c << 8 ) | c;
DrawLine( draw, ImVec2( dpos.x + framePos, dpos.y ), ImVec2( dpos.x + framePos, dpos.y+Height-2 ), color );
m_wasActive = true;
}
}
}