From 2e252d398804f0f02d3f6aed77fa493ab23cff2f Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Wed, 17 Jun 2026 00:14:03 +0200 Subject: [PATCH] Fix indentation level. --- .../src/profiler/TracyView_ContextSwitch.cpp | 34 +++++++++---------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/profiler/src/profiler/TracyView_ContextSwitch.cpp b/profiler/src/profiler/TracyView_ContextSwitch.cpp index b464ed54..c4e7ec59 100644 --- a/profiler/src/profiler/TracyView_ContextSwitch.cpp +++ b/profiler/src/profiler/TracyView_ContextSwitch.cpp @@ -286,23 +286,23 @@ void View::DrawContextSwitchList( const TimelineContext& ctx, const std::vector< const auto waitStack = v.data; if( waitStack ) { - ImGui::Separator(); - TextDisabledUnformatted( ICON_FA_HOURGLASS_HALF " Wait stack:" ); - CallstackTooltipContents( waitStack ); - if( ImGui::IsMouseClicked( 0 ) ) - { - m_callstackView = { - .id = waitStack, - .thread = m_worker.DecompressThread( ev.Thread() ), - .wait = { - .time = waitTime, - .reason = waitReason, - .reasonCode = waitReasonCode, - .state = waitState, - .stateCode = waitStateCode - } - }; - } + ImGui::Separator(); + TextDisabledUnformatted( ICON_FA_HOURGLASS_HALF " Wait stack:" ); + CallstackTooltipContents( waitStack ); + if( ImGui::IsMouseClicked( 0 ) ) + { + m_callstackView = { + .id = waitStack, + .thread = m_worker.DecompressThread( ev.Thread() ), + .wait = { + .time = waitTime, + .reason = waitReason, + .reasonCode = waitReasonCode, + .state = waitState, + .stateCode = waitStateCode + } + }; + } } ImGui::EndTooltip(); }