anutron/clientcide — Issue #84: Mooscroller : wheel option =false doesn't work : scrollSteps used instead of wheel
Author: qambard
Created: 2011-10-30 12:22:05+00:00
State: open

Hi,
It looks like the wheel option isn't used in the mooscroller.
This can be tested with the last example of the demo :
http://www.clientcide.com/wiki/clientcide-libraries/08-layout/02-mooscroller#simple-horizontal-mooscroller : the scroll does scroll with the wheel !

I think there is just a little error: scrollSteps is used instead of wheel in attach and detach method :
```javascript
if (this.options.scrollSteps) {
this.content.addEvent('mousewheel', this.bound.wheel);
this.track.addEvent('mousewheel', this.bound.wheel);
}
```
should be :
```javascript
if (this.options.wheel) {
...
}
```
thanks