Eeschema: fix incorrect move command for bitmap items.
This commit is contained in:
parent
af5a9a8de9
commit
7e2779784b
|
@ -58,9 +58,7 @@ void CopyPolygonsFromKiPolygonListToPolysList( KI_POLYGON_SET& aKiPolyList,
|
|||
aPolysList.push_back( corner );
|
||||
}
|
||||
|
||||
corner.end_contour = true;
|
||||
aPolysList.pop_back();
|
||||
aPolysList.push_back( corner );
|
||||
aPolysList.back().end_contour = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -93,7 +93,7 @@ static void moveBitmap( EDA_DRAW_PANEL* aPanel, wxDC* aDC, const wxPoint& aPosit
|
|||
}
|
||||
|
||||
// Draw the bitmap at it's new position.
|
||||
image->Move( screen->GetCrossHairPosition() );
|
||||
image->SetPosition( screen->GetCrossHairPosition() );
|
||||
image->Draw( aPanel, aDC, wxPoint( 0, 0 ), GR_DEFAULT_DRAWMODE );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue