Commit 1e40e8df authored by diemer's avatar diemer

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
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment