Fixed Drawing of DrawSheetStruct, so DrawSheetLabelStructs are only drawn if they are not being moved (fixes ugliness while moving PinSheets).
This commit is contained in:
parent
f12a19fe0d
commit
1e40e8dfa3
|
@ -257,7 +257,8 @@ void DrawSheetStruct::Draw( WinEDA_DrawPanel* panel, wxDC* DC, const wxPoint& of
|
|||
SheetLabelStruct = m_Label;
|
||||
while( SheetLabelStruct != NULL )
|
||||
{
|
||||
SheetLabelStruct->Draw( panel, DC, offset, DrawMode, Color );
|
||||
if ( !(SheetLabelStruct->m_Flags & IS_MOVED) )
|
||||
SheetLabelStruct->Draw( panel, DC, offset, DrawMode, Color );
|
||||
SheetLabelStruct = (DrawSheetLabelStruct*) (SheetLabelStruct->Pnext);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue