mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-27 00:04:35 +00:00
Interaction with crash label in options menu.
This commit is contained in:
parent
2f397c892b
commit
7792963e31
@ -5670,6 +5670,14 @@ void View::DrawOptions()
|
|||||||
ImGui::BeginTooltip();
|
ImGui::BeginTooltip();
|
||||||
ImGui::TextUnformatted( "Crashed" );
|
ImGui::TextUnformatted( "Crashed" );
|
||||||
ImGui::EndTooltip();
|
ImGui::EndTooltip();
|
||||||
|
if( ImGui::IsMouseClicked( 0 ) )
|
||||||
|
{
|
||||||
|
m_showInfo = true;
|
||||||
|
}
|
||||||
|
if( ImGui::IsMouseClicked( 2 ) )
|
||||||
|
{
|
||||||
|
CenterAtTime( crash.time );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
ImGui::TextColored( ImVec4( 1.f, 0.2f, 0.2f, 1.f ), "Crashed" );
|
ImGui::TextColored( ImVec4( 1.f, 0.2f, 0.2f, 1.f ), "Crashed" );
|
||||||
|
Loading…
Reference in New Issue
Block a user