소스 검색

feat: 自动轨迹策略调整

zhangjie 5 일 전
부모
커밋
aeedbcef89
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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,
     };
   }