@syncfusion/ej2-image-editor 27.1.53 → 27.1.57
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ej2-image-editor.umd.min.js +2 -2
- package/dist/ej2-image-editor.umd.min.js.map +1 -1
- package/dist/es6/ej2-image-editor.es2015.js +7 -4
- package/dist/es6/ej2-image-editor.es2015.js.map +1 -1
- package/dist/es6/ej2-image-editor.es5.js +7 -4
- package/dist/es6/ej2-image-editor.es5.js.map +1 -1
- package/dist/global/ej2-image-editor.min.js +2 -2
- package/dist/global/ej2-image-editor.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +11 -11
- package/src/image-editor/action/selection.js +7 -4
|
@@ -13354,10 +13354,6 @@ var Selection = /** @__PURE__ @class */ (function () {
|
|
|
13354
13354
|
};
|
|
13355
13355
|
Selection.prototype.handleScroll = function (e) {
|
|
13356
13356
|
this.mouseWheel++;
|
|
13357
|
-
if (this.mouseWheel === 2) {
|
|
13358
|
-
this.mouseWheel = 0;
|
|
13359
|
-
return;
|
|
13360
|
-
}
|
|
13361
13357
|
var parent = this.parent;
|
|
13362
13358
|
var x;
|
|
13363
13359
|
var y;
|
|
@@ -13374,6 +13370,13 @@ var Selection = /** @__PURE__ @class */ (function () {
|
|
|
13374
13370
|
y < parent.img.destTop + parent.img.destHeight) {
|
|
13375
13371
|
isInsideCanvas = true;
|
|
13376
13372
|
}
|
|
13373
|
+
if (this.mouseWheel === 2) {
|
|
13374
|
+
this.mouseWheel = 0;
|
|
13375
|
+
if (e.ctrlKey === true && isInsideCanvas) {
|
|
13376
|
+
e.preventDefault();
|
|
13377
|
+
}
|
|
13378
|
+
return;
|
|
13379
|
+
}
|
|
13377
13380
|
e.stopPropagation();
|
|
13378
13381
|
if (e.ctrlKey === true && isInsideCanvas) {
|
|
13379
13382
|
e.preventDefault();
|