Fix typo when warping cursor (coords are world-coords).
Fixes: lp:1802811 * https://bugs.launchpad.net/kicad/+bug/1802811
This commit is contained in:
parent
6d76097291
commit
4a9d538608
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue