소스 검색

[skip ci] Remove unneeded code segments

Mark Tolmacs 5 달 전
부모
커밋
c8ade51b53
1개의 변경된 파일0개의 추가작업 그리고 7개의 파일을 삭제
  1. 0 7
      packages/element/src/binding.ts

+ 0 - 7
packages/element/src/binding.ts

@@ -1280,13 +1280,6 @@ const updateBoundPoint = (
 
   let newEdgePoint: GlobalPoint;
 
-  // // The linear element was not originally pointing inside the bound shape,
-  // // we can point directly at the focus point
-  // if (binding.gap === 0) {
-  //   newEdgePoint = focusPointAbsolute;
-  // } else {
-  //  ...
-  // }
   const edgePointAbsolute =
     LinearElementEditor.getPointAtIndexGlobalCoordinates(
       linearElement,