@leafer/helper
Advanced tools
+5
-5
| { | ||
| "name": "@leafer/helper", | ||
| "version": "1.9.4", | ||
| "version": "1.9.5", | ||
| "description": "@leafer/helper", | ||
@@ -25,9 +25,9 @@ "author": "Chao (Leafer) Wan", | ||
| "dependencies": { | ||
| "@leafer/data": "1.9.4", | ||
| "@leafer/math": "1.9.4", | ||
| "@leafer/platform": "1.9.4" | ||
| "@leafer/data": "1.9.5", | ||
| "@leafer/math": "1.9.5", | ||
| "@leafer/platform": "1.9.5" | ||
| }, | ||
| "devDependencies": { | ||
| "@leafer/interface": "1.9.4" | ||
| "@leafer/interface": "1.9.5" | ||
| } | ||
| } |
@@ -253,4 +253,5 @@ import { IAlign, ILeaf, IMatrixData, IPointData, IAxis, ITransition, ILeaferCanvas, IBoundsData, IMatrixWithBoundsData } from '@leafer/interface' | ||
| function getTempLocal(t: ILeaf, world: IPointData): IPointData { | ||
| return t.parent ? PointHelper.tempToInnerOf(world, t.parent.scrollWorldTransform) : world | ||
| function getTempLocal(t: ILeaf, worldPoint: IPointData): IPointData { | ||
| t.updateLayout() // must | ||
| return t.parent ? PointHelper.tempToInnerOf(worldPoint, t.parent.scrollWorldTransform) : worldPoint | ||
| } |
20834
0.21%381
0.26%+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
Updated
Updated
Updated