Roo/dialog/UploadCropbox.js
authorleon <leon@roojs.com>
Wed, 13 Jul 2022 06:41:01 +0000 (14:41 +0800)
committerleon <leon@roojs.com>
Wed, 13 Jul 2022 06:41:01 +0000 (14:41 +0800)
Roo/dialog/UploadCropbox.js

index 5859234..b8b66de 100644 (file)
@@ -560,6 +560,9 @@ Roo.extend(Roo.dialog.UploadCropbox, Roo.Component,  {
         this.startScale = this.scale;
         this.scale = (e.getWheelDelta() == 1) ? (this.scale + 1) : (this.scale - 1);
         
+        console.log('startScale: ' . this.startScale);
+        console.log('scale: ' . this.scale);
+        console.log('getWheelDelta: ' . e.getWheelDelta());
         if(!this.zoomable()){
             this.scale = this.startScale;
             return;