       ) ->
          @panning = false
 
-         @minZoom = 1 / 4 - 0.01
+         @minZoom = 1/4 - 0.01
          @zoom = 1
          @maxZoom = 1
 

      setPan: ->
         scrollTo -@panZoom.panX(), -@panZoom.panY()

   zoomInFactor = Math.sqrt(2)
   zoomOutFactor = 1 / Math.sqrt(2)
   zoomFactor = (scrollDelta) ->
      if scrollDelta < 0 then zoomInFactor else zoomOutFactor



      move: (x, y) ->
         if @panning
            @_lastMoveX = x
            @_lastMoveY = y

      minX: ->
