#
vincentlu
2025-12-17 81825c9eed893c1c503f16385cef291bd8eaabd9
#
1个文件已修改
6 ■■■■ 已修改文件
zy-acs-flow/src/map/tool.js 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-acs-flow/src/map/tool.js
@@ -914,8 +914,8 @@
    const currentScale = Math.abs(mapContainer.scale.x || 1);
    const labelStyle = new PIXI.TextStyle({
        fontFamily: 'Inter, "Segoe UI", sans-serif',
        fill: themeMode === 'dark' ? '#f1f2f6' : '#1e272e',
        fontSize: Math.max(16, 22 / currentScale),
        fill: themeMode === 'dark' ? '#f1f2f6' : '#606060ff',
        fontSize: Math.max(16, 20 / currentScale),
        fontWeight: 600,
        letterSpacing: 10,
        // stroke: themeMode === 'dark' ? '#1e272e' : '#ffffff',
@@ -999,9 +999,9 @@
    draft.name = id ? `area_${id}` : 'area_' + generateID();
    draft.zIndex = 0;
    if (setCurSprite) {
        draft.lineStyle(2 / Math.abs(mapContainer.scale.x || 1), AREA_BORDER_COLOR, 0.9);
        draft.zIndex = DEVICE_Z_INDEX.AREA;
    }
    draft.lineStyle(.5 / Math.abs(mapContainer.scale.x || 1), AREA_BORDER_COLOR, 0.9);
    draft.beginFill(areaColor, 0.18);
    draft.drawRect(
        Math.min(from.x, to.x),