Commit b42091bc authored by Maciej Suminski's avatar Maciej Suminski

Fixed anchor placement tool in module editor (GAL).

parent 5f297726
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment