From 02aae23a9801c2125a34cb7996bc8f339ea18e69 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Mon, 3 Aug 2020 16:07:28 +0200 Subject: [PATCH] Move limits button to tools submenu. --- server/TracyView.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index 7435623e..8fc239a6 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -583,8 +583,6 @@ bool View::DrawImpl() ImGui::SameLine(); ToggleButton( ICON_FA_FINGERPRINT " Info", m_showInfo ); ImGui::SameLine(); - ToggleButton( ICON_FA_RULER, m_showRanges ); - ImGui::SameLine(); if( ImGui::Button( ICON_FA_TOOLS ) ) ImGui::OpenPopup( "ToolsPopup" ); if( ImGui::BeginPopup( "ToolsPopup" ) ) { @@ -603,6 +601,7 @@ bool View::DrawImpl() { m_showAnnotationList = true; } + ToggleButton( ICON_FA_RULER " Limits", m_showRanges ); ImGui::EndPopup(); } ImGui::SameLine();