       [@positionToTime(x0), @positionToTime(x1) - 1]
 
     _onLabelClick: (e) =>
+      return if @_dragging
       label = e.currentTarget
       [start, stop] = @_timespanForLabel(label)
       if @_canFocusTimespan(start, stop)

        overlay.appendChild(right)
      else
        root.trigger(@scopedEventName('focusremove'))

      null

    panToTime: (time) ->

      self = this
      draggable = new TimelineDraggable(svg)
      draggable.on 'drag', ({dx}) =>
        @_dragging = true if Math.abs(dx) > 5
        @_pan(dx, false)
      draggable.on 'dragend', ({dx}) =>
        @_dragging = false
        @_pan(dx)

    _pan: (dx, commit=true) ->
