@leafer/layout 1.9.2 → 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.
- package/package.json +6 -6
- package/src/LeafLayout.ts +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@leafer/layout",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.4",
|
|
4
4
|
"description": "@leafer/layout",
|
|
5
5
|
"author": "Chao (Leafer) Wan",
|
|
6
6
|
"license": "MIT",
|
|
@@ -22,12 +22,12 @@
|
|
|
22
22
|
"leaferjs"
|
|
23
23
|
],
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@leafer/data": "1.9.
|
|
26
|
-
"@leafer/math": "1.9.
|
|
27
|
-
"@leafer/helper": "1.9.
|
|
28
|
-
"@leafer/platform": "1.9.
|
|
25
|
+
"@leafer/data": "1.9.4",
|
|
26
|
+
"@leafer/math": "1.9.4",
|
|
27
|
+
"@leafer/helper": "1.9.4",
|
|
28
|
+
"@leafer/platform": "1.9.4"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@leafer/interface": "1.9.
|
|
31
|
+
"@leafer/interface": "1.9.4"
|
|
32
32
|
}
|
|
33
33
|
}
|
package/src/LeafLayout.ts
CHANGED
|
@@ -312,7 +312,7 @@ export class LeafLayout implements ILeafLayout {
|
|
|
312
312
|
|
|
313
313
|
public boxChange(): void {
|
|
314
314
|
this.boxChanged = true
|
|
315
|
-
this.localBoxChanged || this.localBoxChange()
|
|
315
|
+
this.localBoxChanged ? (this.boundsChanged || (this.boundsChanged = true)) : this.localBoxChange() // fix: boundsChanged未更新的问题
|
|
316
316
|
this.hitCanvasChanged = true
|
|
317
317
|
}
|
|
318
318
|
|
|
@@ -356,7 +356,7 @@ export class LeafLayout implements ILeafLayout {
|
|
|
356
356
|
|
|
357
357
|
public matrixChange(): void {
|
|
358
358
|
this.matrixChanged = true
|
|
359
|
-
this.localBoxChanged || this.localBoxChange()
|
|
359
|
+
this.localBoxChanged ? (this.boundsChanged || (this.boundsChanged = true)) : this.localBoxChange() // fix: boundsChanged未更新的问题
|
|
360
360
|
}
|
|
361
361
|
|
|
362
362
|
|