Fixed anchor placement tool in module editor (GAL).

This commit is contained in:
Maciej Suminski 2014-07-09 15:02:56 +02:00
parent 5f297726ca
commit b42091bc06
1 changed files with 2 additions and 0 deletions

View File

@ -917,6 +917,8 @@ int DRAWING_TOOL::SetAnchor( TOOL_EVENT& aEvent )
wxPoint moveVector = module->GetPosition() - wxPoint( cursorPos.x, cursorPos.y );
module->MoveAnchorPosition( moveVector );
module->ViewUpdate();
// Usually, we do not need to change twice the anchor position,
// so deselect the active tool
break;