Commit 1e40e8df authored by diemer's avatar diemer
Browse files

Fixed Drawing of DrawSheetStruct, so DrawSheetLabelStructs are only drawn if...

Fixed Drawing of DrawSheetStruct, so DrawSheetLabelStructs are only drawn if they are not being moved (fixes ugliness while moving PinSheets).
parent f12a19fe
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -257,6 +257,7 @@ void DrawSheetStruct::Draw( WinEDA_DrawPanel* panel, wxDC* DC, const wxPoint& of
    SheetLabelStruct = m_Label;
    while( SheetLabelStruct != NULL )
    {
        if ( !(SheetLabelStruct->m_Flags & IS_MOVED) )
            SheetLabelStruct->Draw( panel, DC, offset, DrawMode, Color );
        SheetLabelStruct = (DrawSheetLabelStruct*) (SheetLabelStruct->Pnext);
    }