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:
parent
3cc87b4597
commit
44d416cafc
|
@ -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 )
|
||||
|
|
Loading…
Reference in New Issue