@leafer/layout
Advanced tools
+4
-4
| { | ||
| "name": "@leafer/layout", | ||
| "version": "1.0.0-rc.4", | ||
| "version": "1.0.0-rc.5", | ||
| "description": "@leafer/layout", | ||
@@ -25,8 +25,8 @@ "author": "Chao (Leafer) Wan", | ||
| "dependencies": { | ||
| "@leafer/math": "1.0.0-rc.4", | ||
| "@leafer/platform": "1.0.0-rc.4" | ||
| "@leafer/math": "1.0.0-rc.5", | ||
| "@leafer/platform": "1.0.0-rc.5" | ||
| }, | ||
| "devDependencies": { | ||
| "@leafer/interface": "1.0.0-rc.4" | ||
| "@leafer/interface": "1.0.0-rc.5" | ||
| } | ||
| } |
@@ -12,3 +12,3 @@ import { ILeaf, ILeafLayout, ILayoutLocationType, ILayoutBoundsType, IBoundsData, IMatrixData } from '@leafer/interface' | ||
| public useZoomProxy: boolean | ||
| public proxyZoom: boolean | ||
@@ -39,3 +39,2 @@ // local | ||
| public matrixChanged: boolean | ||
| public positionChanged: boolean | ||
| public scaleChanged: boolean | ||
@@ -77,3 +76,3 @@ public rotationChanged: boolean | ||
| this.boxChange() | ||
| this.positionChange() | ||
| this.matrixChange() | ||
| } | ||
@@ -225,8 +224,2 @@ | ||
| public positionChange(): void { | ||
| this.positionChanged = true | ||
| this.matrixChanged = true | ||
| this.localBoxChanged || this.localBoxChange() | ||
| } | ||
| public scaleChange(): void { | ||
@@ -245,2 +238,6 @@ this.scaleChanged = true | ||
| this.affectScaleOrRotation = true | ||
| this.matrixChange() | ||
| } | ||
| public matrixChange(): void { | ||
| this.matrixChanged = true | ||
@@ -247,0 +244,0 @@ this.localBoxChanged || this.localBoxChange() |
+2
-3
@@ -5,3 +5,3 @@ import { ILeafLayout, ILeaf, IBoundsData, ILayoutLocationType, IMatrixData, ILayoutBoundsType } from '@leafer/interface'; | ||
| leaf: ILeaf; | ||
| useZoomProxy: boolean; | ||
| proxyZoom: boolean; | ||
| boxBounds: IBoundsData; | ||
@@ -18,3 +18,2 @@ strokeBounds: IBoundsData; | ||
| matrixChanged: boolean; | ||
| positionChanged: boolean; | ||
| scaleChanged: boolean; | ||
@@ -53,6 +52,6 @@ rotationChanged: boolean; | ||
| renderChange(): void; | ||
| positionChange(): void; | ||
| scaleChange(): void; | ||
| rotationChange(): void; | ||
| protected _scaleOrRotationChange(): void; | ||
| matrixChange(): void; | ||
| surfaceChange(): void; | ||
@@ -59,0 +58,0 @@ opacityChange(): void; |
11100
-1.54%260
-1.52%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
Updated
Updated