From a9fa8f966b887dfce97d24707e03a1ae6aa9aef2 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Wed, 20 Jun 2018 14:44:24 +0200 Subject: [PATCH] Fix "zone free" indentation in allocation list. --- server/TracyView.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index 6800443b..ffc5bdb3 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -4947,9 +4947,9 @@ void View::ListMemData( T ptr, T end, std::function DrawAdd bool sel; if( zoneFree == zone ) { - sel = ImGui::Selectable( "", m_zoneInfoWindow == zoneFree ); - ImGui::SameLine(); - ImGui::TextColored( ImVec4( 1.f, 1.f, 0.6f, 1.f ), "%s", txt ); + ImGui::PushStyleColor( ImGuiCol_Text, ImVec4( 1.f, 1.f, 0.6f, 1.f ) ); + sel = ImGui::Selectable( txt, m_zoneInfoWindow == zoneFree ); + ImGui::PopStyleColor( 1 ); } else {