 		options.clip ?= false
 		options.width ?= 300
 		options.height ?= 10
-				
+
 		@knob = new Layer
 			backgroundColor: "#fff"
 			shadowY: 1, shadowBlur: 3


		# On click/touch of the slider, update the value
		@on(Events.TouchStart, @_touchDown)

		# Set default value
		@value = @max / 2

	
	_touchDown: (event) =>


		super options

		if options.value is undefined then @value = (@max / 2)
		@knobSize = options.knobSize or 30
		@knob.superLayer = @fill.superLayer = @

