Fix typo when warping cursor (coords are world-coords).

Fixes: lp:1802811
* https://bugs.launchpad.net/kicad/+bug/1802811
This commit is contained in:
Jeff Young 2018-11-12 22:09:03 +00:00
parent 6d76097291
commit 4a9d538608
1 changed files with 1 additions and 1 deletions

View File

@ -469,7 +469,7 @@ void SCH_BASE_FRAME::CenterScreen( const wxPoint& aCenterPoint, bool aWarpPointe
GetCanvas()->GetView()->SetCenter( aCenterPoint ); GetCanvas()->GetView()->SetCenter( aCenterPoint );
if( aWarpPointer ) if( aWarpPointer )
GetCanvas()->GetViewControls()->WarpCursor( aCenterPoint ); GetCanvas()->GetViewControls()->WarpCursor( aCenterPoint, true );
GetGalCanvas()->Refresh(); GetGalCanvas()->Refresh();
} }