Browse Source

[skip ci] Remove unneeded code segments

Mark Tolmacs 5 months ago
parent
commit
4184103eb0
1 changed files with 0 additions and 7 deletions
  1. 0 7
      packages/element/src/binding.ts

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

@@ -1279,13 +1279,6 @@ const updateBoundPoint = (
 
 
   let newEdgePoint: GlobalPoint;
   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 =
   const edgePointAbsolute =
     LinearElementEditor.getPointAtIndexGlobalCoordinates(
     LinearElementEditor.getPointAtIndexGlobalCoordinates(
       linearElement,
       linearElement,