Move cursor in increments off grid

When the cursor starts off grid, we avoid snapping to the nearest grid
point to prevent movement in an unintended direction.
This commit is contained in:
Seth Hillbrand 2018-10-21 14:27:25 -07:00
parent 3cc87b4597
commit 44d416cafc
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ int COMMON_TOOLS::CursorControl( const TOOL_EVENT& aEvent )
type &= ~ACTIONS::CURSOR_FAST_MOVE;
bool mirroredX = getView()->IsMirroredX();
VECTOR2D cursor = getViewControls()->GetRawCursorPosition( true );
VECTOR2D cursor = getViewControls()->GetRawCursorPosition( false );
VECTOR2I gridSize = VECTOR2D( m_frame->GetScreen()->GetGridSize() );
if( fastMove )