diff options
author | Bartosz Taudul <wolf@nereid.pl> | 2022-09-05 21:30:03 +0300 |
---|---|---|
committer | Bartosz Taudul <wolf@nereid.pl> | 2022-09-05 21:30:03 +0300 |
commit | 48e7a17d1d0f086c650c6f0a36790e630fa14e40 (patch) | |
tree | a4b1dbced2f5e2d40f9958a53f8a2ec58efea73e /server | |
parent | d2ab66195c47f33a76758b97669dd564ccde90b9 (diff) |
Clicking on a CPU data thread will make it visible.
Diffstat (limited to 'server')
-rw-r--r-- | server/TracyView_CpuData.cpp | 6 |
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 ); |