@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.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 27.1.53
3
+ * version : 27.1.57
4
4
  * Copyright Syncfusion Inc. 2001 - 2023. All rights reserved.
5
5
  * Use of this code is subject to the terms of our license.
6
6
  * A copy of the current license can be obtained at any time by e-mailing
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-image-editor@*",
3
- "_id": "@syncfusion/ej2-image-editor@27.1.52",
3
+ "_id": "@syncfusion/ej2-image-editor@27.1.53",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-4y4FiADe4A4Y5hu5mauYQwkHPa+rNYrtX5DFVwWITwzAvinOMwQe9sMg1rMjx3qnpwFDH06C9qR7Qm/kdDgd3Q==",
5
+ "_integrity": "sha512-ZtwLwC7Nxvln2ygYweanubDEXjvJdaJjptjZhDiCkiR5dos3rSi6rr1FLYaQ6d33cXAhQ8HFfBh2I3CPOqK4rg==",
6
6
  "_location": "/@syncfusion/ej2-image-editor",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -23,8 +23,8 @@
23
23
  "/@syncfusion/ej2-react-image-editor",
24
24
  "/@syncfusion/ej2-vue-image-editor"
25
25
  ],
26
- "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-image-editor/-/ej2-image-editor-27.1.52.tgz",
27
- "_shasum": "7cd217a052e3fb179ad0f19d492d7df369c8b183",
26
+ "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-image-editor/-/ej2-image-editor-27.1.53.tgz",
27
+ "_shasum": "42fdf05d1d7bc703782067315784adc5bcf202bd",
28
28
  "_spec": "@syncfusion/ej2-image-editor@*",
29
29
  "_where": "/jenkins/workspace/elease-automation_release_27.1.1/packages/included",
30
30
  "author": {
@@ -32,13 +32,13 @@
32
32
  },
33
33
  "bundleDependencies": false,
34
34
  "dependencies": {
35
- "@syncfusion/ej2-base": "~27.1.53",
35
+ "@syncfusion/ej2-base": "~27.1.55",
36
36
  "@syncfusion/ej2-buttons": "~27.1.53",
37
- "@syncfusion/ej2-dropdowns": "~27.1.53",
38
- "@syncfusion/ej2-inputs": "~27.1.50",
39
- "@syncfusion/ej2-navigations": "~27.1.53",
40
- "@syncfusion/ej2-popups": "~27.1.53",
41
- "@syncfusion/ej2-splitbuttons": "~27.1.50"
37
+ "@syncfusion/ej2-dropdowns": "~27.1.57",
38
+ "@syncfusion/ej2-inputs": "~27.1.55",
39
+ "@syncfusion/ej2-navigations": "~27.1.57",
40
+ "@syncfusion/ej2-popups": "~27.1.57",
41
+ "@syncfusion/ej2-splitbuttons": "~27.1.56"
42
42
  },
43
43
  "deprecated": false,
44
44
  "description": "Essential JS 2 ImageEditor",
@@ -68,7 +68,7 @@
68
68
  "url": "https://github.com/syncfusion/ej2-javascript-ui-controls/tree/master/controls/imageeditor"
69
69
  },
70
70
  "typings": "index.d.ts",
71
- "version": "27.1.53",
71
+ "version": "27.1.57",
72
72
  "sideEffects": false,
73
73
  "homepage": "https://www.syncfusion.com/javascript-ui-controls"
74
74
  }
@@ -4531,10 +4531,6 @@ var Selection = /** @class */ (function () {
4531
4531
  };
4532
4532
  Selection.prototype.handleScroll = function (e) {
4533
4533
  this.mouseWheel++;
4534
- if (this.mouseWheel === 2) {
4535
- this.mouseWheel = 0;
4536
- return;
4537
- }
4538
4534
  var parent = this.parent;
4539
4535
  var x;
4540
4536
  var y;
@@ -4551,6 +4547,13 @@ var Selection = /** @class */ (function () {
4551
4547
  y < parent.img.destTop + parent.img.destHeight) {
4552
4548
  isInsideCanvas = true;
4553
4549
  }
4550
+ if (this.mouseWheel === 2) {
4551
+ this.mouseWheel = 0;
4552
+ if (e.ctrlKey === true && isInsideCanvas) {
4553
+ e.preventDefault();
4554
+ }
4555
+ return;
4556
+ }
4554
4557
  e.stopPropagation();
4555
4558
  if (e.ctrlKey === true && isInsideCanvas) {
4556
4559
  e.preventDefault();