Loading pcbnew/tools/move_tool.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -61,7 +61,7 @@ void MOVE_TOOL::Reset() } // the tool launches upon reception of activate ("pcbnew.InteractiveMove") Go( &MOVE_TOOL::Main, TOOL_EVENT( TC_Command, TA_ActivateTool, GetName() ) ); //"pcbnew.InteractiveMove")); Go( &MOVE_TOOL::Main, TOOL_EVENT( TC_Command, TA_ActivateTool, GetName() ) ); } Loading pcbnew/tools/move_tool.h +2 −1 Original line number Diff line number Diff line Loading @@ -89,7 +89,8 @@ private: void RestorePosition() { item->SetPosition( wxPoint( position.x, position.y ) ); wxPoint curPosition = item->GetPosition(); item->Move( wxPoint( position.x - curPosition.x, position.y - curPosition.y ) ); } void RestoreVisibility() Loading Loading
pcbnew/tools/move_tool.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -61,7 +61,7 @@ void MOVE_TOOL::Reset() } // the tool launches upon reception of activate ("pcbnew.InteractiveMove") Go( &MOVE_TOOL::Main, TOOL_EVENT( TC_Command, TA_ActivateTool, GetName() ) ); //"pcbnew.InteractiveMove")); Go( &MOVE_TOOL::Main, TOOL_EVENT( TC_Command, TA_ActivateTool, GetName() ) ); } Loading
pcbnew/tools/move_tool.h +2 −1 Original line number Diff line number Diff line Loading @@ -89,7 +89,8 @@ private: void RestorePosition() { item->SetPosition( wxPoint( position.x, position.y ) ); wxPoint curPosition = item->GetPosition(); item->Move( wxPoint( position.x - curPosition.x, position.y - curPosition.y ) ); } void RestoreVisibility() Loading