From 1db9681ee255a6fcdf57669ba0549b8fae5ae47c Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Wed, 28 Sep 2022 01:06:34 +0200 Subject: [PATCH] Mark activity when lock is highlighting. --- server/TracyView_Locks.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/server/TracyView_Locks.cpp b/server/TracyView_Locks.cpp index 83f3371f..5f6a26af 100644 --- a/server/TracyView_Locks.cpp +++ b/server/TracyView_Locks.cpp @@ -830,6 +830,7 @@ int View::DrawLocks( uint64_t tid, bool hover, double pxns, const ImVec2& wpos, { const auto t = uint8_t( ( sin( std::chrono::duration_cast( std::chrono::system_clock::now().time_since_epoch() ).count() * 0.01 ) * 0.5 + 0.5 ) * 255 ); draw->AddRect( wpos + ImVec2( std::max( px0, -10.0 ), offset ), wpos + ImVec2( std::min( pxend, double( w + 10 ) ), offset + ty ), 0x00FFFFFF | ( t << 24 ), 0.f, -1, 2.f ); + m_wasActive = true; } else if( condensed == 0 ) {