@leafer-in/flow 1.0.7 → 1.0.8
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 +5 -5
- package/src/index.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@leafer-in/flow",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.8",
|
|
4
4
|
"description": "@leafer-in/flow",
|
|
5
5
|
"author": "Chao (Leafer) Wan",
|
|
6
6
|
"license": "MIT",
|
|
@@ -34,9 +34,9 @@
|
|
|
34
34
|
"leaferjs"
|
|
35
35
|
],
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@leafer-ui/draw": "^1.0.
|
|
38
|
-
"@leafer-ui/interface": "^1.0.
|
|
39
|
-
"@leafer-in/resize": "^1.0.
|
|
40
|
-
"@leafer-in/interface": "^1.0.
|
|
37
|
+
"@leafer-ui/draw": "^1.0.8",
|
|
38
|
+
"@leafer-ui/interface": "^1.0.8",
|
|
39
|
+
"@leafer-in/resize": "^1.0.8",
|
|
40
|
+
"@leafer-in/interface": "^1.0.8"
|
|
41
41
|
}
|
|
42
42
|
}
|
package/src/index.ts
CHANGED
|
@@ -33,7 +33,7 @@ const { copyAndSpread } = BoundsHelper
|
|
|
33
33
|
box.__updateFlowLayout = function (): void {
|
|
34
34
|
const { leaferIsCreated, flow } = this
|
|
35
35
|
|
|
36
|
-
if (leaferIsCreated) this.leafer.created = false
|
|
36
|
+
if (leaferIsCreated) this.leafer.created = false // 拦截布局更新通知,进行手动更新布局
|
|
37
37
|
|
|
38
38
|
switch (flow) {
|
|
39
39
|
case 'x':
|