lyb-pixi-js 1.12.53 → 1.12.55

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.
@@ -3,6 +3,7 @@ import { Graphics } from "pixi.js";
3
3
  export class LibPixiMaskBg extends Graphics {
4
4
  constructor() {
5
5
  super();
6
+ this.alpha = LibPixiMaskBg.bgAlpha;
6
7
  }
7
8
  /** @description 更新蒙版 */
8
9
  updateSize() {
@@ -12,7 +13,7 @@ export class LibPixiMaskBg extends Graphics {
12
13
  y: window.innerHeight,
13
14
  });
14
15
  this.clear();
15
- this.beginFill(0x000000, LibPixiMaskBg.bgAlpha);
16
+ this.beginFill(0x000000, 1);
16
17
  this.drawRect(topLeft.x, topLeft.y, bottomRight.x - topLeft.x, bottomRight.y - topLeft.y);
17
18
  this.endFill();
18
19
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lyb-pixi-js",
3
- "version": "1.12.53",
3
+ "version": "1.12.55",
4
4
  "description": "自用Pixi.JS方法库",
5
5
  "license": "ISC",
6
6
  "exports": {