From 2f397c892b52b98703082e15f6d62578745d40f1 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sun, 24 Mar 2019 23:50:33 +0100 Subject: [PATCH] Middle click on crash label to center view on it. --- server/TracyView.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index fae31da7..3f2427e3 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -2128,6 +2128,10 @@ void View::DrawZones() { m_showInfo = true; } + if( ImGui::IsMouseClicked( 2 ) ) + { + CenterAtTime( crash.time ); + } } } }