Explorar o código

feat: 自动轨迹策略调整

zhangjie hai 4 días
pai
achega
aeedbcef89
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/features/mark/composables/useMakeTrack.ts

+ 1 - 1
src/features/mark/composables/useMakeTrack.ts

@@ -167,7 +167,7 @@ export default function useMakeTrack() {
     const { x, y, w, h } = area;
     return {
       x: x + w / 4 + (Math.random() * w) / 2,
-      y: y + h / 4 + (Math.random() * h) / 2,
+      y: y + h / 2,
     };
   }