Fix vertical spacing in inline symbols list.

This commit is contained in:
Bartosz Taudul 2021-09-27 01:54:37 +02:00
parent 28ae970887
commit 99f2d0e059
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -13496,11 +13496,11 @@ void View::DrawSamplesStatistics(Vector<SymList>& data, int64_t timeRange, Accum
ImGui::Indent(); ImGui::Indent();
for( auto& iv : inSymList ) for( auto& iv : inSymList )
{ {
ImGui::TableNextRow();
ImGui::TableNextColumn();
const auto cnt = accumulationMode == AccumulationMode::SelfOnly ? iv.excl : iv.incl; const auto cnt = accumulationMode == AccumulationMode::SelfOnly ? iv.excl : iv.incl;
if( cnt > 0 || showAll ) if( cnt > 0 || showAll )
{ {
ImGui::TableNextRow();
ImGui::TableNextColumn();
auto sit = symMap.find( iv.symAddr ); auto sit = symMap.find( iv.symAddr );
assert( sit != symMap.end() ); assert( sit != symMap.end() );
name = m_worker.GetString( sit->second.name ); name = m_worker.GetString( sit->second.name );