From 44d416cafc0748874167b10b45292d0893e4f773 Mon Sep 17 00:00:00 2001
From: Seth Hillbrand <hillbrand@ucdavis.edu>
Date: Sun, 21 Oct 2018 14:27:25 -0700
Subject: [PATCH] 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.
---
 common/tool/common_tools.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/tool/common_tools.cpp b/common/tool/common_tools.cpp
index 9995c12a40..8fbdec58b5 100644
--- a/common/tool/common_tools.cpp
+++ b/common/tool/common_tools.cpp
@@ -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 )