mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-14 04:01:48 +00:00
Clicking on a CPU data thread will make it visible.
This commit is contained in:
parent
d2ab66195c
commit
48e7a17d1d
@ -326,6 +326,12 @@ bool View::DrawCpuData( double pxns, int& offset, const ImVec2& wpos, bool hover
|
|||||||
ImGui::EndTooltip();
|
ImGui::EndTooltip();
|
||||||
ImGui::PushFont( m_smallFont );
|
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 ) )
|
if( IsMouseClicked( 2 ) )
|
||||||
{
|
{
|
||||||
ZoomToRange( start, end );
|
ZoomToRange( start, end );
|
||||||
|
Loading…
Reference in New Issue
Block a user