Browse Source

Warp mouse from context menu before dragging.

Fixes: lp:1798815
* https://bugs.launchpad.net/kicad/+bug/1798815
pull/13/head
Jeff Young 7 years ago
parent
commit
6e810a00e4
  1. 3
      eeschema/onrightclick.cpp
  2. 2
      eeschema/schedit.cpp

3
eeschema/onrightclick.cpp

@ -148,6 +148,9 @@ bool SCH_EDIT_FRAME::OnRightClick( const wxPoint& aPosition, wxMenu* PopMenu )
// If the clarify item selection context menu is aborted, don't show the context menu.
if( item == NULL && actionCancelled )
return false;
if( item )
SetCrossHairPosition( item->GetPosition(), false );
}
// If a command is in progress: add "cancel" and "end tool" menu

2
eeschema/schedit.cpp

@ -413,6 +413,8 @@ void SCH_EDIT_FRAME::OnMoveItem( wxCommandEvent& aEvent )
return;
}
GetCanvas()->GetViewControls()->WarpCursor( GetCrossHairPosition(), true );
switch( item->Type() )
{
case SCH_LINE_T:

Loading…
Cancel
Save