X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=Roo%2Fdialog%2FUploadCropbox.js;h=8279efb33cf683112f7c98f686948d7a19052cc1;hb=0e2b1665f6bb4cc652160ab70f144f3d7d49aec2;hp=9428b8f2dc3f9b6d16ff1edd4f032c23e23bc1f4;hpb=c0068fc5c6feb92d5af89dc254f751fffc5bc7fd;p=roojs1 diff --git a/Roo/dialog/UploadCropbox.js b/Roo/dialog/UploadCropbox.js index 9428b8f2dc..8279efb33c 100644 --- a/Roo/dialog/UploadCropbox.js +++ b/Roo/dialog/UploadCropbox.js @@ -558,7 +558,7 @@ Roo.extend(Roo.dialog.UploadCropbox, Roo.Component, { e.stopEvent(); this.startScale = this.scale; - this.scale = (e.getWheelDelta() == 1) ? (this.scale + 1) : (this.scale - 1); + this.scale = (e.getWheelDelta() > 0) ? (this.scale + 1) : (this.scale - 1); console.log('startScale: ' + this.startScale); console.log('scale: ' + this.scale);