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:06:34 +0300
committerBartosz Taudul <wolf@nereid.pl>2022-09-28 02:12:05 +0300
commit1db9681ee255a6fcdf57669ba0549b8fae5ae47c (patch)
tree94262fa3fbc88382e1faac2fc7b0e8267bbbeab1 /server/TracyView_Locks.cpp
parentfd93f244f056b5290524f61f311b4e6974b6bfa2 (diff)
Mark activity when lock is highlighting.
Diffstat (limited to 'server/TracyView_Locks.cpp')
-rw-r--r--server/TracyView_Locks.cpp1
1 files changed, 1 insertions, 0 deletions
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::milliseconds>( 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 )
{