Fixed rotation/flip point.

This commit is contained in:
Maciej Suminski 2014-05-13 11:22:51 +02:00
parent a0801e2d8e
commit 9325a9e74d
1 changed files with 1 additions and 1 deletions

View File

@ -488,7 +488,7 @@ wxPoint EDIT_TOOL::getModificationPoint( const SELECTION_TOOL::SELECTION& aSelec
{
if( aSelection.Size() == 1 )
{
return static_cast<BOARD_ITEM*>( aSelection.items.GetPickedItem( 0 ) )->GetPosition();
return static_cast<BOARD_ITEM*>( aSelection.items.GetPickedItem( 0 ) )->GetPosition() - m_offset;
}
else
{