From b0f484d593ede459b6e66d6e20d1ae7df08713d6 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sun, 24 Jul 2022 12:13:28 +0200 Subject: [PATCH] Display plot colors in options menu. --- server/TracyView_Options.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/TracyView_Options.cpp b/server/TracyView_Options.cpp index 11a012c9..c3a7d34a 100644 --- a/server/TracyView_Options.cpp +++ b/server/TracyView_Options.cpp @@ -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() ) );