@leafer-ui/app 1.9.1 → 1.9.2

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.
Files changed (2) hide show
  1. package/package.json +6 -6
  2. package/src/App.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leafer-ui/app",
3
- "version": "1.9.1",
3
+ "version": "1.9.2",
4
4
  "description": "@leafer-ui/app",
5
5
  "author": "Chao (Leafer) Wan",
6
6
  "license": "MIT",
@@ -22,12 +22,12 @@
22
22
  "leaferjs"
23
23
  ],
24
24
  "dependencies": {
25
- "@leafer/core": "1.9.1",
26
- "@leafer-ui/display": "1.9.1",
27
- "@leafer-ui/data": "1.9.1"
25
+ "@leafer/core": "1.9.2",
26
+ "@leafer-ui/display": "1.9.2",
27
+ "@leafer-ui/data": "1.9.2"
28
28
  },
29
29
  "devDependencies": {
30
- "@leafer/interface": "1.9.1",
31
- "@leafer-ui/interface": "1.9.1"
30
+ "@leafer/interface": "1.9.2",
31
+ "@leafer-ui/interface": "1.9.2"
32
32
  }
33
33
  }
package/src/App.ts CHANGED
@@ -118,7 +118,7 @@ export class App extends Leafer implements IApp {
118
118
  }
119
119
 
120
120
  override __render(canvas: ILeaferCanvas, options: IRenderOptions): void {
121
- if (canvas.context) this.forEach(leafer => options.matrix ? leafer.__render(canvas, options) : canvas.copyWorld(leafer.canvas, options && options.bounds))
121
+ if (canvas.context) this.forEach(leafer => options.matrix ? leafer.__render(canvas, options) : canvas.copyWorld(leafer.canvas, options.bounds))
122
122
  }
123
123
 
124
124
  public __onResize(event: IResizeEvent): void {