#
luxiaotao1123
2024-03-04 e70bd6b169d3ff72619170613db627eb898e8fad
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';