From f6663b187a2aa5b209225e1801e1b622545487d4 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Fri, 15 May 2020 02:27:48 +0200 Subject: [PATCH] Add ghost zone label to ghost zone tooltips. --- server/TracyView.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index 9f8c43f6..ecea417b 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -3528,6 +3528,8 @@ int View::DrawGhostLevel( const Vector& vec, bool hover, double pxns, if( hover && ImGui::IsMouseHoveringRect( wpos + ImVec2( px0, offset ), wpos + ImVec2( px1, offset + tsz.y ) ) ) { ImGui::BeginTooltip(); + TextDisabledUnformatted( ICON_FA_GHOST " Ghost zone" ); + ImGui::Separator(); TextFocused( "Unknown frame:", symName ); TextFocused( "Thread:", m_worker.GetThreadName( tid ) ); ImGui::SameLine(); @@ -3585,6 +3587,8 @@ int View::DrawGhostLevel( const Vector& vec, bool hover, double pxns, if( hover && ImGui::IsMouseHoveringRect( wpos + ImVec2( px0, foff ), wpos + ImVec2( px1, foff + tsz.y ) ) ) { ImGui::BeginTooltip(); + TextDisabledUnformatted( ICON_FA_GHOST " Ghost zone" ); + ImGui::Separator(); ImGui::TextUnformatted( symName ); if( isInline ) {