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;
|
continue;
|
||||||
|
|
||||||
static_cast<BOARD_ITEM*>( item )->Move( movement );
|
static_cast<BOARD_ITEM*>( item )->Move( movement );
|
||||||
|
getView()->Update( item );
|
||||||
}
|
}
|
||||||
|
|
||||||
frame()->UpdateMsgPanel();
|
frame()->UpdateMsgPanel();
|
||||||
|
@ -390,6 +391,7 @@ int EDIT_TOOL::Main( const TOOL_EVENT& aEvent )
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
static_cast<BOARD_ITEM*>( item )->Move( delta );
|
static_cast<BOARD_ITEM*>( item )->Move( delta );
|
||||||
|
getView()->Update( item );
|
||||||
}
|
}
|
||||||
|
|
||||||
selection.SetReferencePoint( m_cursor );
|
selection.SetReferencePoint( m_cursor );
|
||||||
|
|
Loading…
Reference in New Issue