@leafer/display-module 1.0.8 → 1.0.10

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leafer/display-module",
3
- "version": "1.0.8",
3
+ "version": "1.0.10",
4
4
  "description": "@leafer/display-module",
5
5
  "author": "Chao (Leafer) Wan",
6
6
  "license": "MIT",
@@ -22,12 +22,12 @@
22
22
  "leaferjs"
23
23
  ],
24
24
  "dependencies": {
25
- "@leafer/helper": "1.0.8",
26
- "@leafer/event": "1.0.8",
27
- "@leafer/math": "1.0.8",
28
- "@leafer/debug": "1.0.8"
25
+ "@leafer/helper": "1.0.10",
26
+ "@leafer/event": "1.0.10",
27
+ "@leafer/math": "1.0.10",
28
+ "@leafer/debug": "1.0.10"
29
29
  },
30
30
  "devDependencies": {
31
- "@leafer/interface": "1.0.8"
31
+ "@leafer/interface": "1.0.10"
32
32
  }
33
33
  }
@@ -18,6 +18,9 @@ export const BranchRender: IBranchRenderModule = {
18
18
 
19
19
 
20
20
  __render(canvas: ILeaferCanvas, options: IRenderOptions): void {
21
+
22
+ this.__nowWorld = this.__getNowWorld(options)
23
+
21
24
  if (this.__worldOpacity) {
22
25
 
23
26
  if (this.__.__single) {
@@ -28,7 +31,7 @@ export const BranchRender: IBranchRenderModule = {
28
31
 
29
32
  this.__renderBranch(tempCanvas, options)
30
33
 
31
- const nowWorld = this.__getNowWorld(options)
34
+ const nowWorld = this.__nowWorld
32
35
 
33
36
  canvas.opacity = this.__.opacity
34
37
  canvas.copyWorldByReset(tempCanvas, nowWorld, nowWorld, this.__.__blendMode, true)