@leafer-ui/interaction-web 1.0.0-rc.27 → 1.0.0-rc.30

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leafer-ui/interaction-web",
3
- "version": "1.0.0-rc.27",
3
+ "version": "1.0.0-rc.30",
4
4
  "description": "@leafer-ui/interaction-web",
5
5
  "author": "Chao (Leafer) Wan",
6
6
  "license": "MIT",
@@ -22,10 +22,10 @@
22
22
  "leaferjs"
23
23
  ],
24
24
  "dependencies": {
25
- "@leafer/core": "1.0.0-rc.27",
26
- "@leafer-ui/core": "1.0.0-rc.27"
25
+ "@leafer/core": "1.0.0-rc.30",
26
+ "@leafer-ui/core": "1.0.0-rc.30"
27
27
  },
28
28
  "devDependencies": {
29
- "@leafer/interface": "1.0.0-rc.27"
29
+ "@leafer/interface": "1.0.0-rc.30"
30
30
  }
31
31
  }
@@ -281,6 +281,8 @@ export class Interaction extends InteractionBase {
281
281
  this.preventDefaultWheel(e)
282
282
 
283
283
  const { wheel } = this.config
284
+ if (wheel.disabled) return
285
+
284
286
  const scale = wheel.getScale ? wheel.getScale(e, wheel) : WheelEventHelper.getScale(e, wheel)
285
287
  const local = this.getLocal(e)
286
288