lyb-pixi-js 1.3.2 → 1.3.4

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.
@@ -74,7 +74,7 @@ export class LibPixiSpine extends Spine {
74
74
  /** @description 销毁动画及挂点 */
75
75
  destroyAll() {
76
76
  Ticker.system.remove(this._loopFn);
77
- this.destroy();
77
+ this.destroy({ children: true });
78
78
  }
79
79
  /** @description 更新渲染 */
80
80
  _loop() {
@@ -4,7 +4,7 @@ import { Text, TextStyle } from "pixi.js";
4
4
  */
5
5
  export class LibPixiText extends Text {
6
6
  constructor(options) {
7
- const { text, fontSize = 36, fontColor = 0xffffff, stroke, strokeColor, strokeThickness, fontFamily = "MicrosoftYaHei", fontWeight = "normal", wordWrap = false, wordWrapWidth = 100, lineHeight = 1.25, align = "left", indent = 0, shadow, } = options;
7
+ const { text, fontSize = 36, fontColor = 0xffffff, stroke, strokeColor, strokeThickness, fontFamily = "Arial", fontWeight = "normal", wordWrap = false, wordWrapWidth = 100, lineHeight = 1.25, align = "left", indent = 0, shadow, } = options;
8
8
  const style = new TextStyle({
9
9
  fontSize,
10
10
  wordWrap,