Interaction with crash label in options menu.

This commit is contained in:
Bartosz Taudul 2019-03-24 23:52:36 +01:00
parent 2f397c892b
commit 7792963e31

View File

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