From 4384b812f152b248f9949bdd17fbe38fe828d21b Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Mon, 16 Mar 2020 22:59:54 +0100 Subject: [PATCH] Smaller nested checkboxes. --- server/TracyView.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index 93e1e59e..b467a61e 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -7384,9 +7384,9 @@ void View::DrawOptions() ImGui::Indent(); val = m_vd.darkenContextSwitches; #ifdef TRACY_EXTENDED_FONT - ImGui::Checkbox( ICON_FA_MOON " Darken inactive threads", &val ); + SmallCheckbox( ICON_FA_MOON " Darken inactive threads", &val ); #else - ImGui::Checkbox( "Darken inactive threads", &val ); + SmallCheckbox( "Darken inactive threads", &val ); #endif m_vd.darkenContextSwitches = val; ImGui::Unindent(); @@ -7400,9 +7400,9 @@ void View::DrawOptions() ImGui::Indent(); val = m_vd.drawCpuUsageGraph; #ifdef TRACY_EXTENDED_FONT - ImGui::Checkbox( ICON_FA_SIGNATURE " Draw CPU usage graph", &val ); + SmallCheckbox( ICON_FA_SIGNATURE " Draw CPU usage graph", &val ); #else - ImGui::Checkbox( "Draw CPU usage graph", &val ); + SmallCheckbox( "Draw CPU usage graph", &val ); #endif m_vd.drawCpuUsageGraph = val; ImGui::Unindent();