Snapped position to cursor

This commit is contained in:
Devine Lu Linvega 2017-01-24 08:36:22 -07:00
parent aa7bb5ff25
commit 62e0888afe

View File

@ -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;