Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/wolfpld/tracy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartosz Taudul <wolf@nereid.pl>2022-09-28 02:07:42 +0300
committerBartosz Taudul <wolf@nereid.pl>2022-09-28 02:12:06 +0300
commit29c7b5f259a7de8ecb629a8ba229eca79172c022 (patch)
tree1439aa522a01490800523e393214ce562f41a0d7
parent1db9681ee255a6fcdf57669ba0549b8fae5ae47c (diff)
Mark activity on frame times histogram highlight.
-rw-r--r--server/TracyView_TraceInfo.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/TracyView_TraceInfo.cpp b/server/TracyView_TraceInfo.cpp
index 6c8e5bcc..9240d12c 100644
--- a/server/TracyView_TraceInfo.cpp
+++ b/server/TracyView_TraceInfo.cpp
@@ -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;
}
}
}