Same for Vis() reference.

This commit is contained in:
Bartosz Taudul 2019-06-09 17:51:37 +02:00
parent 2aa6f70765
commit a3173965d6

View File

@ -2063,6 +2063,7 @@ void View::DrawZones()
if( !m_drawEmptyLabels && showFull && depth == 0 && msgit == msgend && crash.thread != v->id )
{
auto& vis = Vis( v );
vis.height = 0;
vis.offset = 0;
offset = oldOffset;
@ -2269,7 +2270,7 @@ void View::DrawZones()
}
}
AdjustThreadHeight( vis, oldOffset, offset );
AdjustThreadHeight( Vis( v ), oldOffset, offset );
ImGui::PopClipRect();
}
m_lockHighlight = nextLockHighlight;