mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-30 01:04:36 +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;
|
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();
|
||||||
|
Loading…
Reference in New Issue
Block a user