   constructor : (options) ->
     @options = options
     @toolName = @options.eventBasename
-    @draggin2 = false
+    @dragging = false
     @basepoint_set = false
     @button_activated = false
     @tool_active = false

    @plotview = plotview
    @eventSink = eventSink
    @plotview.moveCallbacks.push((e, x, y) =>
      if not @draggin2
        return
      if not @tool_active
        return
      if not @basepoint_set
        @draggin2 = true
        @basepoint_set = true
        eventSink.trigger("#{toolName}:SetBasepoint", e)
      else

      @model.resolve_ref(renderer).get_ref('data_source').set('selecting', false)
      @model.resolve_ref(renderer).get_ref('data_source').save()
    @basepoint_set = false
    if @shading
      @shading.remove()
      @shading = null
