1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Improve options UI.

This commit is contained in:
Bartosz Taudul 2019-10-15 01:49:36 +02:00
parent dffe65f8e2
commit fefa3b4693

View File

@ -6757,11 +6757,13 @@ void View::DrawOptions()
#endif
m_vd.drawContextSwitches = val;
val = m_vd.darkenContextSwitches;
ImGui::Indent();
#ifdef TRACY_EXTENDED_FONT
ImGui::Checkbox( ICON_FA_MOON " Darken inactive threads", &val );
#else
ImGui::Checkbox( "Darken inactive threads", &val );
#endif
ImGui::Unindent();
m_vd.darkenContextSwitches = val;
val = m_vd.drawCpuData;
#ifdef TRACY_EXTENDED_FONT