this.dragable = false;
},
-//
-// onMouseWheel : function(e)
-// {
-// e.stopEvent();
-//
-// var ratio = (e.getWheelDelta() == 1) ? (this.ratio * 1.1) : (this.ratio * 0.9);
-//
-// if(
-// parseInt(this.image.dom.width) * ratio < this.thumb.getWidth() ||
-// parseInt(this.image.dom.height) * ratio < this.thumb.getHeight()
-// ){
-// return;
-// }
-//
-// this.ratio = (e.getWheelDelta() == 1) ? (this.ratio * 1.1) : (this.ratio * 0.9);
-//
-// this.setBackground();
-// },
+
+ onMouseWheel : function(e)
+ {
+ e.stopEvent();
+
+ var ratio = (e.getWheelDelta() == 1) ? (this.ratio * 1.1) : (this.ratio * 0.9);
+
+ if(
+ parseInt(this.image.dom.width) * ratio < this.thumb.getWidth() ||
+ parseInt(this.image.dom.height) * ratio < this.thumb.getHeight()
+ ){
+ return;
+ }
+
+ this.ratio = (e.getWheelDelta() == 1) ? (this.ratio * 1.1) : (this.ratio * 0.9);
+
+ this.setBackground();
+ },
//
// onRotateLeft : function(e)
// {