lyb-pixi-js 1.2.2 → 1.2.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.
@@ -61,6 +61,7 @@ export class LibPixiScrollContainer extends LibPixiContainer {
61
61
  }
62
62
  /** @description 返回顶部 */
63
63
  scrollToTop() {
64
+ gsap.killTweensOf(this._content);
64
65
  this._content.y = 0;
65
66
  }
66
67
  /** @description 往滚动内容添加元素 */
@@ -98,8 +98,7 @@ export class LibPixiAudio {
98
98
  src: url,
99
99
  loop: true,
100
100
  volume: 0,
101
- html5: true,
102
- mute: this._isBackground || !this.effectEnabled,
101
+ mute: this._isBackground || !this.musicEnabled,
103
102
  });
104
103
  this._musicPlayer.play();
105
104
  this._isMusicPaused = false;