Use consistent thread order in more thread pickers

This commit is contained in:
Alexey Shekhirin
2026-06-18 09:41:35 +01:00
parent 066cb89f75
commit 74bbe5988b
2 changed files with 4 additions and 0 deletions

View File

@@ -389,6 +389,8 @@ void View::DrawContextSwitchList( const TimelineContext& ctx, const std::vector<
void View::DrawWaitStacks()
{
UpdateThreadOrder();
const auto scale = GetScale();
ImGui::SetNextWindowSize( ImVec2( 1400 * scale, 500 * scale ), ImGuiCond_FirstUseEver );
ImGui::Begin( "Wait stacks", &m_showWaitStacks );

View File

@@ -137,6 +137,8 @@ void View::DrawMessages()
ImGui::Checkbox( ICON_FA_IMAGE " Show frame images", &m_showMessageImages );
}
UpdateThreadOrder();
bool threadsChanged = false;
ImGui::AlignTextToFramePadding();
auto expand = ImGui::TreeNodeEx( ICON_FA_SHUFFLE " Visible threads:", ImGuiTreeNodeFlags_SpanLabelWidth );