From e9e3e46ea2e39496a3e82b865e0109e5a1eb00fd Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Mon, 5 Mar 2018 20:19:05 +0100 Subject: [PATCH] Display time instead of counts in cumulate time mode. --- server/TracyView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index 8c3edc84..628f55c5 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -2841,7 +2841,7 @@ void View::DrawFindZone() ImGui::SameLine(); ImGui::Spacing(); ImGui::SameLine(); - ImGui::Text( "Max counts: %s", RealToString( maxVal, true ) ); + ImGui::Text( "Max counts: %s", m_findZone.cumulateTime ? TimeToString( maxVal ) : RealToString( maxVal, true ) ); enum { Height = 200 }; const auto wpos = ImGui::GetCursorScreenPos();