           oy: hit.y
           mx: pos.x # mousedown location
           my: pos.y
-          t: Date.now()
+          t: t
         return true
 
     if @isHandleHit(pos, idx)


      i += 1

  render: (ctx, idx) ->
    if @merging?
      ctx.save()
      setStyle(ctx, light_link_style)


    return

  mouseup: (pos, t) ->
    if @dropdown_menu?
      if @dropdown_menu.selected >= 0
        @dropdown_menu.options[@dropdown_menu.selected].action(this, t)
      @dropdown_menu = null
      return

    if @selected?
      if t - @selected.t < 200
        mdx = pos.x - @selected.mx
        mdy = pos.y - @selected.my
        if mdx*mdx+mdy*mdy < 10*10
