소스 검색

#2140 contours test

bach 1 년 전
부모
커밋
c56929901c
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      src/components/ConcernementMapItem.vue

+ 3 - 3
src/components/ConcernementMapItem.vue

@@ -647,7 +647,7 @@ export default {
         ]
         
         // handles
-        const delta = 0.25;
+        const delta = 0.05;
         // handle IN
         const hli   = Math.abs(lab)*delta;            // handle longeur
         const vnai  = { x: -vma.y, y: vma.x }     // get the ma normal unit vector IN
@@ -660,8 +660,8 @@ export default {
 
         return new paper.Segment({
           point: pa,
-          // handleIn: hai,
-          // handleOut: hao
+          handleIn: hai,
+          handleOut: hao
         })
       }
       const first_point = getPaddedRoundedSegments(