1
0
mirror of https://github.com/wolfpld/tracy synced 2025-04-29 04:23:51 +00:00

Display plot colors in options menu.

This commit is contained in:
Bartosz Taudul 2022-07-24 12:13:28 +02:00
parent 3393471dcc
commit b0f484d593
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -543,6 +543,8 @@ void View::DrawOptions()
for( const auto& p : m_worker.GetPlots() )
{
SmallColorBox( GetPlotColor( p ) );
ImGui::SameLine();
SmallCheckbox( GetPlotName( p ), &Vis( p ).visible );
ImGui::SameLine();
ImGui::TextDisabled( "%s data points", RealToString( p->data.size() ) );