zy-asrs-flow/src/pages/map/player.js
@@ -6,7 +6,7 @@ constructor(dom, dark) { this.darkModel = dark; // init this.app = generatePixiApp(); this.app = generatePixiApp(dark); dom.appendChild(this.app.view); globalThis.__PIXI_APP__ = this.app; @@ -94,9 +94,9 @@ } function generatePixiApp() { function generatePixiApp(dark) { const app = new PIXI.Application({ background: '#F8FAFB', background: dark ? '#f1f2f6' : '#f1f2f6', antialias: true, }) app.stage.eventMode = 'auto';