1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08: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
+2
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() ) );