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:
@@ -1288,4 +1288,9 @@ void View::HighlightThread( uint64_t thread )
|
||||
m_drawThreadHighlight = thread;
|
||||
}
|
||||
|
||||
bool View::WasActive() const
|
||||
{
|
||||
return m_worker.IsConnected();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user