lyb-pixi-js 1.9.4 → 1.9.5

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.
@@ -20,7 +20,7 @@ export class LibPixiSpine extends Spine {
20
20
  this._followDots = [];
21
21
  /** 是否已开始 */
22
22
  this._isStart = false;
23
- this.visible = visible;
23
+ this.alpha = visible ? 1 : 0;
24
24
  this.autoUpdate = false;
25
25
  //如果存在挂点
26
26
  if (followPointList === null || followPointList === void 0 ? void 0 : followPointList.length) {
@@ -50,7 +50,7 @@ export class LibPixiSpine extends Spine {
50
50
  },
51
51
  };
52
52
  setTimeout(() => {
53
- this.visible = true;
53
+ this.alpha = 1;
54
54
  });
55
55
  });
56
56
  }
package/lyb-pixi.js CHANGED
@@ -48678,7 +48678,7 @@ void main(void)\r
48678
48678
  super(spineData);
48679
48679
  this._followDots = [];
48680
48680
  this._isStart = false;
48681
- this.visible = visible;
48681
+ this.alpha = visible ? 1 : 0;
48682
48682
  this.autoUpdate = false;
48683
48683
  if (followPointList == null ? void 0 : followPointList.length) {
48684
48684
  followPointList == null ? void 0 : followPointList.forEach((item) => {
@@ -48707,7 +48707,7 @@ void main(void)\r
48707
48707
  }
48708
48708
  };
48709
48709
  setTimeout(() => {
48710
- this.visible = true;
48710
+ this.alpha = 1;
48711
48711
  });
48712
48712
  });
48713
48713
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lyb-pixi-js",
3
- "version": "1.9.4",
3
+ "version": "1.9.5",
4
4
  "description": "自用Pixi.JS方法库",
5
5
  "license": "ISC",
6
6
  "exports": {