#
luxiaotao1123
2024-03-20 58d662bfc30693db4ce801549d669c0451bf6854
#
3个文件已修改
9 ■■■■■ 已修改文件
zy-asrs-flow/src/pages/map/header/floor.jsx 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-asrs-flow/src/pages/map/player.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-asrs-flow/src/pages/map/utils.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-asrs-flow/src/pages/map/header/floor.jsx
@@ -33,6 +33,9 @@
                    onChange={(value) => {
                        console.log(value); // string
                    }}
                    style={{
                        opacity: .8
                    }}
                />
            </div>
        </>
zy-asrs-flow/src/pages/map/player.js
@@ -384,7 +384,7 @@
function generatePixiApp(dark) {
    const app = new PIXI.Application({
        background: dark ? '#f1f2f6' : '#f1f2f6',
        background: dark ? '#2C3A47' : '#f1f2f6',
        antialias: true,
    })
    app.stage.eventMode = 'static';
zy-asrs-flow/src/pages/map/utils.js
@@ -194,7 +194,7 @@
    const { width, height } = sprite;
    const scale = sprite.scale.x;
    const sideLen = (Math.max(width, height) + 10) * scale;
    const color = 0x273c75;
    const color = app.renderer.backgroundColor === '#f1f2f6' ? 0x273c75 : 0xffffff;
    effectHalfCircle = new PIXI.Graphics();
    effectHalfCircle.beginFill(color);
@@ -205,7 +205,7 @@
    effectHalfCircle.scale.set(1 / scale);
    effectRectangle = new PIXI.Graphics();
    effectRectangle.lineStyle(2 * scale, color, 1);
    effectRectangle.lineStyle(5 * scale, color, 1);
    effectRectangle.drawRoundedRect(0, 0, sideLen, sideLen, 16 * scale);
    effectRectangle.endFill();
    effectRectangle.mask = effectHalfCircle;