瀏覽代碼

[skip ci] Remove unneeded code segments

Mark Tolmacs 5 月之前
父節點
當前提交
4184103eb0
共有 1 個文件被更改,包括 0 次插入7 次删除
  1. 0 7
      packages/element/src/binding.ts

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

@@ -1279,13 +1279,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,