1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Allow checking whether View was active.

Currently this only checks if client connection is active.
This commit is contained in:
Bartosz Taudul
2022-09-27 22:31:53 +02:00
parent a8be0bc91e
commit a8276c41c3
2 changed files with 6 additions and 0 deletions
+5
View File
@@ -1288,4 +1288,9 @@ void View::HighlightThread( uint64_t thread )
m_drawThreadHighlight = thread;
}
bool View::WasActive() const
{
return m_worker.IsConnected();
}
}