Clicking on a CPU data thread will make it visible.

This commit is contained in:
Bartosz Taudul 2022-09-05 20:30:03 +02:00
parent d2ab66195c
commit 48e7a17d1d
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -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 );