@leafer-ui/app 1.0.0-rc.22 → 1.0.0-rc.23
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 +7 -7
- package/src/App.ts +4 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@leafer-ui/app",
|
|
3
|
-
"version": "1.0.0-rc.
|
|
3
|
+
"version": "1.0.0-rc.23",
|
|
4
4
|
"description": "@leafer-ui/app",
|
|
5
5
|
"author": "Chao (Leafer) Wan",
|
|
6
6
|
"license": "MIT",
|
|
@@ -22,13 +22,13 @@
|
|
|
22
22
|
"leaferjs"
|
|
23
23
|
],
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@leafer/core": "1.0.0-rc.
|
|
26
|
-
"@leafer-ui/display": "1.0.0-rc.
|
|
27
|
-
"@leafer-ui/type": "1.0.0-rc.
|
|
28
|
-
"@leafer-ui/data": "1.0.0-rc.
|
|
25
|
+
"@leafer/core": "1.0.0-rc.23",
|
|
26
|
+
"@leafer-ui/display": "1.0.0-rc.23",
|
|
27
|
+
"@leafer-ui/type": "1.0.0-rc.23",
|
|
28
|
+
"@leafer-ui/data": "1.0.0-rc.23"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@leafer/interface": "1.0.0-rc.
|
|
32
|
-
"@leafer-ui/interface": "1.0.0-rc.
|
|
31
|
+
"@leafer/interface": "1.0.0-rc.23",
|
|
32
|
+
"@leafer-ui/interface": "1.0.0-rc.23"
|
|
33
33
|
}
|
|
34
34
|
}
|
package/src/App.ts
CHANGED
|
@@ -120,7 +120,10 @@ export class App extends Leafer implements IApp {
|
|
|
120
120
|
}
|
|
121
121
|
|
|
122
122
|
public __render(canvas: ILeaferCanvas, options: IRenderOptions): void {
|
|
123
|
-
if (options.matrix)
|
|
123
|
+
if (options.matrix) {
|
|
124
|
+
const { a, b, c, d, e, f } = options.matrix
|
|
125
|
+
canvas.setTransform(a, b, c, d, e, f) // screenshot
|
|
126
|
+
}
|
|
124
127
|
this.children.forEach(leafer => canvas.copyWorld(leafer.canvas))
|
|
125
128
|
}
|
|
126
129
|
|