1
0
mirror of https://github.com/wolfpld/tracy synced 2025-04-29 04:23:51 +00:00

Move limits button to tools submenu.

This commit is contained in:
Bartosz Taudul 2020-08-03 16:07:28 +02:00
parent 498781b5bf
commit 02aae23a98

View File

@ -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();