Commit 9325a9e7 authored by Maciej Suminski's avatar Maciej Suminski
Browse files

Fixed rotation/flip point.

parent a0801e2d
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -488,7 +488,7 @@ wxPoint EDIT_TOOL::getModificationPoint( const SELECTION_TOOL::SELECTION& aSelec
{
{
    if( aSelection.Size() == 1 )
    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
    else
    {
    {