Fixed anchor placement tool in module editor (GAL).
This commit is contained in:
parent
5f297726ca
commit
b42091bc06
|
@ -917,6 +917,8 @@ int DRAWING_TOOL::SetAnchor( TOOL_EVENT& aEvent )
|
||||||
wxPoint moveVector = module->GetPosition() - wxPoint( cursorPos.x, cursorPos.y );
|
wxPoint moveVector = module->GetPosition() - wxPoint( cursorPos.x, cursorPos.y );
|
||||||
module->MoveAnchorPosition( moveVector );
|
module->MoveAnchorPosition( moveVector );
|
||||||
|
|
||||||
|
module->ViewUpdate();
|
||||||
|
|
||||||
// Usually, we do not need to change twice the anchor position,
|
// Usually, we do not need to change twice the anchor position,
|
||||||
// so deselect the active tool
|
// so deselect the active tool
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue