 
 		@scrollWheelSpeedMultiplier = 0.10
 
-		@on "mousewheel", @_onMouseWheel
+		@on("mousewheel", @_onMouseWheel)
 
 	_updateContent: =>
 

{Layer} = require "../Layer"

class exports.ScrollComponent extends Layer

	constructor: ->
		super


	_onMouseWheel: (event) =>

		# TODO: Maybe this needs to move to draggable, I'm not sure.
		# In any case this should go through the eventBuffer from draggable
		# so we get sensible velocity and angles back.

		@content.animateStop()
		
		{minX, maxX, minY, maxY} = @content.draggable._calculateConstraints(
