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:
parent
a833aeeacb
commit
986392d88e
|
@ -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 );
|
||||
|
|
Loading…
Reference in New Issue