From 7792963e3179019b92d4cd43bdcd56a5fcb95c84 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sun, 24 Mar 2019 23:52:36 +0100 Subject: [PATCH] Interaction with crash label in options menu. --- server/TracyView.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index 3f2427e3..6698ea3e 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -5670,6 +5670,14 @@ void View::DrawOptions() ImGui::BeginTooltip(); ImGui::TextUnformatted( "Crashed" ); ImGui::EndTooltip(); + if( ImGui::IsMouseClicked( 0 ) ) + { + m_showInfo = true; + } + if( ImGui::IsMouseClicked( 2 ) ) + { + CenterAtTime( crash.time ); + } } #else ImGui::TextColored( ImVec4( 1.f, 0.2f, 0.2f, 1.f ), "Crashed" );