mirror of
https://github.com/wolfpld/tracy.git
synced 2026-10-12 20:05:28 +00:00
Use consistent thread order in more thread pickers
This commit is contained in:
@@ -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 );
|
||||
|
||||
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user