浏览代码

feat: 自动轨迹策略调整

zhangjie 3 天之前
父节点
当前提交
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,
     };
   }