mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Fix handling of ImGui ID stack.
This commit is contained in:
@@ -670,12 +670,12 @@ void SourceView::RenderSymbolSourceView( uint32_t iptotal, unordered_flat_map<ui
|
|||||||
m_targetLine = v.second;
|
m_targetLine = v.second;
|
||||||
SelectLine( v.second, &worker );
|
SelectLine( v.second, &worker );
|
||||||
}
|
}
|
||||||
|
ImGui::PopID();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
TextDisabledUnformatted( fstr );
|
TextDisabledUnformatted( fstr );
|
||||||
}
|
}
|
||||||
ImGui::PopID();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@@ -758,12 +758,12 @@ void SourceView::RenderSymbolSourceView( uint32_t iptotal, unordered_flat_map<ui
|
|||||||
m_targetLine = line;
|
m_targetLine = line;
|
||||||
SelectLine( line, &worker );
|
SelectLine( line, &worker );
|
||||||
}
|
}
|
||||||
|
ImGui::PopID();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
TextDisabledUnformatted( fstr );
|
TextDisabledUnformatted( fstr );
|
||||||
}
|
}
|
||||||
ImGui::PopID();
|
|
||||||
ImGui::NextColumn();
|
ImGui::NextColumn();
|
||||||
}
|
}
|
||||||
ImGui::EndColumns();
|
ImGui::EndColumns();
|
||||||
|
|||||||
Reference in New Issue
Block a user