Fix indentation level.

This commit is contained in:
Bartosz Taudul
2026-06-17 00:14:03 +02:00
parent 77978b68ca
commit 2e252d3988

View File

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