Fix issue with component children disappearing when canvas origin not in view.
This commit is contained in:
parent
f1e2f142a6
commit
275d5e336f
|
@ -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 );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue