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
path: root/server
diff options
context:
space:
mode:
authorBartosz Taudul <wolf@nereid.pl>2022-09-05 21:30:03 +0300
committerBartosz Taudul <wolf@nereid.pl>2022-09-05 21:30:03 +0300
commit48e7a17d1d0f086c650c6f0a36790e630fa14e40 (patch)
treea4b1dbced2f5e2d40f9958a53f8a2ec58efea73e /server
parentd2ab66195c47f33a76758b97669dd564ccde90b9 (diff)
Clicking on a CPU data thread will make it visible.
Diffstat (limited to 'server')
-rw-r--r--server/TracyView_CpuData.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/server/TracyView_CpuData.cpp b/server/TracyView_CpuData.cpp
index 577553c9..591d67fc 100644
--- a/server/TracyView_CpuData.cpp
+++ b/server/TracyView_CpuData.cpp
@@ -326,6 +326,12 @@ bool View::DrawCpuData( double pxns, int& offset, const ImVec2& wpos, bool hover
ImGui::EndTooltip();
ImGui::PushFont( m_smallFont );
+ if( local && IsMouseClicked( 0 ) )
+ {
+ auto& item = m_tc.GetItem( m_worker.GetThreadData( thread ) );
+ item.SetVisible( true );
+ item.SetShowFull( true );
+ }
if( IsMouseClicked( 2 ) )
{
ZoomToRange( start, end );