mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-26 16:04:34 +00:00
Fix handling of ImGui ID stack.
This commit is contained in:
parent
c79c052528
commit
b937ad101f
@ -670,12 +670,12 @@ void SourceView::RenderSymbolSourceView( uint32_t iptotal, unordered_flat_map<ui
|
||||
m_targetLine = v.second;
|
||||
SelectLine( v.second, &worker );
|
||||
}
|
||||
ImGui::PopID();
|
||||
}
|
||||
else
|
||||
{
|
||||
TextDisabledUnformatted( fstr );
|
||||
}
|
||||
ImGui::PopID();
|
||||
}
|
||||
}
|
||||
else
|
||||
@ -758,12 +758,12 @@ void SourceView::RenderSymbolSourceView( uint32_t iptotal, unordered_flat_map<ui
|
||||
m_targetLine = line;
|
||||
SelectLine( line, &worker );
|
||||
}
|
||||
ImGui::PopID();
|
||||
}
|
||||
else
|
||||
{
|
||||
TextDisabledUnformatted( fstr );
|
||||
}
|
||||
ImGui::PopID();
|
||||
ImGui::NextColumn();
|
||||
}
|
||||
ImGui::EndColumns();
|
||||
|
Loading…
Reference in New Issue
Block a user