#
luxiaotao1123
2024-11-13 48eefc082760c3f859656e5375f5a71b04f38054
zy-acs-flow/src/map/tool.js
@@ -9,6 +9,7 @@
    DEVICE_SELECTED_EFFECT_COLOR,
    POINT_ROUTE_DIRECTION,
    DEVICE_SPRITE_TINT_DARK,
    ANIMATE_DURING_TIME,
} from './constants';
import { getRouteList } from './http';
import PointRoute from "./PointRoute";
@@ -564,7 +565,7 @@
    const endRotation = sprite.rotation + rotationDifference;
    new TWEEDLE.Tween(sprite)
        .to({ rotation: endRotation }, 1000)
        .to({ rotation: endRotation }, ANIMATE_DURING_TIME)
        .easing(TWEEDLE.Easing.Linear.None)
        .onUpdate(() => {
            // agv
@@ -721,7 +722,7 @@
        .to({
            x: codeSprite.position.x,
            y: codeSprite.position.y
        }, 1000)
        }, ANIMATE_DURING_TIME)
        .easing(TWEEDLE.Easing.Linear.None)
        .start();
}