@leafer/display 1.0.0-beta.7 → 1.0.0-beta.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 +9 -9
- package/src/Leaf.ts +1 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@leafer/display",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.8",
|
|
4
4
|
"description": "@leafer/display",
|
|
5
5
|
"author": "Chao (Leafer) Wan",
|
|
6
6
|
"license": "MIT",
|
|
@@ -19,15 +19,15 @@
|
|
|
19
19
|
"leaferjs"
|
|
20
20
|
],
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@leafer/math": "1.0.0-beta.
|
|
23
|
-
"@leafer/data": "1.0.0-beta.
|
|
24
|
-
"@leafer/layout": "1.0.0-beta.
|
|
25
|
-
"@leafer/display-module": "1.0.0-beta.
|
|
26
|
-
"@leafer/event": "1.0.0-beta.
|
|
27
|
-
"@leafer/decorator": "1.0.0-beta.
|
|
28
|
-
"@leafer/helper": "1.0.0-beta.
|
|
22
|
+
"@leafer/math": "1.0.0-beta.8",
|
|
23
|
+
"@leafer/data": "1.0.0-beta.8",
|
|
24
|
+
"@leafer/layout": "1.0.0-beta.8",
|
|
25
|
+
"@leafer/display-module": "1.0.0-beta.8",
|
|
26
|
+
"@leafer/event": "1.0.0-beta.8",
|
|
27
|
+
"@leafer/decorator": "1.0.0-beta.8",
|
|
28
|
+
"@leafer/helper": "1.0.0-beta.8"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@leafer/interface": "1.0.0-beta.
|
|
31
|
+
"@leafer/interface": "1.0.0-beta.8"
|
|
32
32
|
}
|
|
33
33
|
}
|
package/src/Leaf.ts
CHANGED
|
@@ -130,8 +130,7 @@ export class Leaf implements ILeaf {
|
|
|
130
130
|
|
|
131
131
|
public forceUpdate(attrName?: string): void {
|
|
132
132
|
if (!attrName) attrName = 'x'
|
|
133
|
-
const value = this.__.
|
|
134
|
-
this.__[attrName] = (value === null) ? 0 : null;
|
|
133
|
+
const value = this.__.__getInput(attrName);
|
|
135
134
|
(this as any)[attrName] = value
|
|
136
135
|
}
|
|
137
136
|
|