From 1d6f388a81cab608fa55657a6fd53ea9a67dccd4 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sun, 5 Aug 2018 16:47:27 +0200 Subject: [PATCH] Middle-click on message marker to center on it. --- server/TracyView.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index 91716b6b..40479ad6 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -1377,6 +1377,11 @@ void View::DrawZones() } ImGui::EndTooltip(); m_msgHighlight = *it; + + if( ImGui::IsMouseClicked( 2 ) ) + { + CenterAtTime( (*it)->time ); + } } it = next; }