2
0
Эх сурвалжийг харах

[skip ci] Remove unneeded code segments

Mark Tolmacs 5 сар өмнө
parent
commit
4184103eb0

+ 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,