     events.touchstart = "_ontouchstart"
 
     if @g.config.get "registerMouseClicks"
-      events.click = "_onclick"
+      events.dblclick = "_onclick"
     if @g.config.get "registerMouseHover"
       events.mousein = "_onmousein"
       events.mouseout = "_onmouseout"


  _getClickPos: (e) ->
    coords = mouse.getMouseCoords e
    rectWidth = @g.zoomer.get "columnWidth"
    rectHeight = @g.zoomer.get "rowHeight"
    coords[0] += Math.floor(@g.zoomer.get("_alignmentScrollLeft") / rectWidth) * rectWidth
    coords[1] += Math.floor(@g.zoomer.get("_alignmentScrollTop") / rectHeight) * rectHeight
    x = Math.floor(coords[0] / rectWidth )
    y = Math.floor(coords[1] / rectHeight)
    x = Math.max 0,x
    y = Math.max 0,y
    seqId = @model.at(y).get "id"

    @el.setAttribute 'height', @g.zoomer.get "alignmentHeight"
    @el.setAttribute 'width', @g.zoomer.get "alignmentWidth"

    @g.zoomer._adjustWidth @el, @model
    @g.zoomer._checkScrolling( @_checkScrolling([@g.zoomer.get('_alignmentScrollLeft'),
    @g.zoomer.get('_alignmentScrollTop')] ),{header: "canvasseq"})

    @color = colorSelector.getColor @g

