From 62e0888afe996005e59c2bedd83b6245e9a599fc Mon Sep 17 00:00:00 2001 From: Devine Lu Linvega Date: Tue, 24 Jan 2017 08:36:22 -0700 Subject: [PATCH] Snapped position to cursor --- scripts/core/cursor.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/core/cursor.js b/scripts/core/cursor.js index 271e3a4..357ecad 100644 --- a/scripts/core/cursor.js +++ b/scripts/core/cursor.js @@ -139,11 +139,10 @@ function Cursor(rune) this.mouse_move = function(position) { - this.update_element(position); - if(this.magnetism){ position = this.magnetic_position(position); } + this.update_element(position); this.position = position;