@meta2d/core 1.0.50 → 1.0.51

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": "@meta2d/core",
3
- "version": "1.0.50",
3
+ "version": "1.0.51",
4
4
  "description": "@meta2d/core: Powerful, Beautiful, Simple, Open - Web-Based 2D At Its Best .",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -279,7 +279,7 @@ var Canvas = /** @class */ (function () {
279
279
  }
280
280
  if (Math.abs(e.wheelDelta) > 100) {
281
281
  //鼠标滚轮滚动 scroll模式下是上下滚动而不是缩放
282
- if (_this.store.options.scroll && _this.scroll) {
282
+ if (_this.store.options.scroll && _this.scroll && !_this.store.options.scrollButScale) {
283
283
  _this.scroll.wheel(e.deltaY < 0);
284
284
  return;
285
285
  }