From 5f5fe7c6aa492fd1f91313e6315426eae9c4d432 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Fri, 22 Jun 2018 20:23:56 +0200 Subject: [PATCH] Add tip about centering timeline on message. --- server/TracyView.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index faec74e4..fde0b4c5 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -3363,6 +3363,14 @@ void View::DrawMessages() ImGui::Begin( "Messages", &m_showMessages ); ImGui::Columns( 3 ); ImGui::Text( "Time" ); + ImGui::SameLine(); + ImGui::TextDisabled( "(?)" ); + if( ImGui::IsItemHovered() ) + { + ImGui::BeginTooltip(); + ImGui::Text( "Click on message to center timeline on it." ); + ImGui::EndTooltip(); + } ImGui::NextColumn(); ImGui::Text( "Thread" ); ImGui::NextColumn();