@leafer/display 1.9.3 → 1.9.4

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.
Files changed (2) hide show
  1. package/package.json +12 -12
  2. package/src/Leaf.ts +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leafer/display",
3
- "version": "1.9.3",
3
+ "version": "1.9.4",
4
4
  "description": "@leafer/display",
5
5
  "author": "Chao (Leafer) Wan",
6
6
  "license": "MIT",
@@ -22,18 +22,18 @@
22
22
  "leaferjs"
23
23
  ],
24
24
  "dependencies": {
25
- "@leafer/math": "1.9.3",
26
- "@leafer/data": "1.9.3",
27
- "@leafer/layout": "1.9.3",
28
- "@leafer/display-module": "1.9.3",
29
- "@leafer/event": "1.9.3",
30
- "@leafer/decorator": "1.9.3",
31
- "@leafer/helper": "1.9.3",
32
- "@leafer/image": "1.9.3",
33
- "@leafer/debug": "1.9.3",
34
- "@leafer/platform": "1.9.3"
25
+ "@leafer/math": "1.9.4",
26
+ "@leafer/data": "1.9.4",
27
+ "@leafer/layout": "1.9.4",
28
+ "@leafer/display-module": "1.9.4",
29
+ "@leafer/event": "1.9.4",
30
+ "@leafer/decorator": "1.9.4",
31
+ "@leafer/helper": "1.9.4",
32
+ "@leafer/image": "1.9.4",
33
+ "@leafer/debug": "1.9.4",
34
+ "@leafer/platform": "1.9.4"
35
35
  },
36
36
  "devDependencies": {
37
- "@leafer/interface": "1.9.3"
37
+ "@leafer/interface": "1.9.4"
38
38
  }
39
39
  }
package/src/Leaf.ts CHANGED
@@ -415,11 +415,11 @@ export class Leaf implements ILeaf {
415
415
  relative.innerToWorld(world, to, distance)
416
416
  world = to ? to : world
417
417
  }
418
- toInnerPoint(this.worldTransform, world, to, distance)
418
+ toInnerPoint(this.scrollWorldTransform, world, to, distance)
419
419
  }
420
420
 
421
421
  public innerToWorld(inner: IPointData, to?: IPointData, distance?: boolean, relative?: ILeaf): void {
422
- toOuterPoint(this.worldTransform, inner, to, distance)
422
+ toOuterPoint(this.scrollWorldTransform, inner, to, distance)
423
423
  if (relative) relative.worldToInner(to ? to : inner, null, distance)
424
424
  }
425
425