     [x_, y_] = [@plot_model.rxpos(x), @plot_model.rypos(y)]
     return [x_, y_]
 
-  #_set_base_point
-  _start_drag : (e, x, y) ->
+  _set_base_point : (e, x, y) ->
     @draggin2 = true
+    @basepoint_set = true
     [@x, @y] = @mouse_coords(e, x, y)
     xmappers = (@model.resolve_ref(x) for x in @mget('xmappers'))
     ymappers = (@model.resolve_ref(x) for x in @mget('ymappers'))

  initialize : (options) ->
    super(options)
    @draggin2 = false
    @started_dragging = false
    @button_activated = false

  bind_events : (plotview) ->

  this.Bokeh = Bokeh
safebind = Continuum.safebind


class PanToolView_ extends Bokeh.PlotWidget
  # draggin2 is used because having a variable named @dragging causes some sort of naming conflict.
  # I need to look through this and figure out what is going on
