Fix issue with component children disappearing when canvas origin not in view.

This commit is contained in:
Jeff Young 2018-10-13 20:54:50 +01:00
parent f1e2f142a6
commit 275d5e336f
1 changed files with 2 additions and 0 deletions

View File

@ -246,6 +246,8 @@ void SCH_PAINTER::draw( LIB_PART *aComp, int aLayer, bool aDrawFields, int aUnit
for( auto& item : aComp->GetDrawItems() )
visitItem( item, true );
m_gal->AdvanceDepth();
for( auto& item : aComp->GetDrawItems() )
visitItem( item, false );
}