       else if scope.mode == 'pointing'
         point = _create_point(xy.x,xy.y)
 
+    _handle_mouse_move = (e) ->
+      if Touch? && (e instanceof Touch)
+        return
+      else
+        xy = _get_x_y e
+        if scope.mode == 'lining' and _current_line?
+          _dragging = true
+          snapped = _snap_to_grid(xy.x, xy.y)
+          _current_line.dragging(snapped.x, snapped.y)
 
     _mouseup = (e) ->
       xy = _get_x_y(e)

      # console.log 'settings.origin'
      if scope.settings?
        if scope.settings.origin? && scope.settings.origin
          _drawAxis(scope.settings.origin, scope.settings.editing)
        else
          if scope.axis?
            scope.axis.remove()
            scope.axis.clear()
            scope.labels.remove()
            scope.labels.clear()
            if scope.settings.editing
              scope.circ.remove()

    scope.$watch 'settings.images', ->
      # console.log 'settings.images'

      _handle_click(e)

    glass.mousemove (e) ->
      _handle_mouse_move(e)

    ####### End Events ##################
]
