zhang
7 小时以前 70930071a49190f414c8d8bc9c9e9795a4096739
zy-acs-flow/src/map/tool.js
@@ -13,6 +13,7 @@
    POINT_ROUTE_DIRECTION,
    ANIMATE_DURING_TIME,
    AGV_ANGLE_OFFSET_VAL,
    ROUTE_COLORS,
} from './constants';
import { getRouteList, fetchAreaList } from './http';
import PointRoute from "./PointRoute";
@@ -140,7 +141,9 @@
    tintType[deviceType] != null && (sprite.tint = tintType[deviceType]);
    if (sprite && deviceType !== DEVICE_TYPE.AGV) {
        sprite.blendMode = PIXI.BLEND_MODES.MULTIPLY;
        sprite.blendMode = themeMode === 'dark'
            ? PIXI.BLEND_MODES.NORMAL
            : PIXI.BLEND_MODES.MULTIPLY;
    }
    return sprite;
}
@@ -932,8 +935,8 @@
    agvPath.name = agvPathName;
    agvPath.lineStyle(
        Math.max(200, 4 * (1 / mapContainer?.scale.x || 1)),
        themeMode === 'dark' ? 0x40739e : 0x2f68ac,
        0.8,
        ROUTE_COLORS[themeMode === 'dark' ? 'dark' : 'light'],
        themeMode === 'dark' ? 0.75 : 0.8,
    );
    agvPath.zIndex = DEVICE_Z_INDEX.DYNAMIC_ROUTE;
    // agvPath.blendMode = PIXI.BLEND_MODES.NORMAL;