@meta2d/core 1.1.2 → 1.1.3

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.1.2",
3
+ "version": "1.1.3",
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",
@@ -1432,7 +1432,7 @@ export class Canvas {
1432
1432
  if (len === 1) {
1433
1433
  if (this.store.options.scroll && this.scroll && !this.store.options.scrollButScale) {
1434
1434
  let diff = this.lastTouchY - event.touches[0].clientY;
1435
- this.scroll.wheel(diff < 0);
1435
+ this.scroll.wheel(diff);
1436
1436
  this.lastTouchY = event.touches[0].clientY;
1437
1437
  return;
1438
1438
  }