Update item at start of drag to erase original location.

Fixes: lp:1813038
* https://bugs.launchpad.net/kicad/+bug/1813038
This commit is contained in:
Jeff Young 2019-07-07 20:52:58 +01:00
parent a833aeeacb
commit 986392d88e
1 changed files with 2 additions and 0 deletions

View File

@ -334,6 +334,7 @@ int EDIT_TOOL::Main( const TOOL_EVENT& aEvent )
continue;
static_cast<BOARD_ITEM*>( item )->Move( movement );
getView()->Update( item );
}
frame()->UpdateMsgPanel();
@ -390,6 +391,7 @@ int EDIT_TOOL::Main( const TOOL_EVENT& aEvent )
continue;
static_cast<BOARD_ITEM*>( item )->Move( delta );
getView()->Update( item );
}
selection.SetReferencePoint( m_cursor );