Selaa lähdekoodia

[skip ci] Remove unneeded code segments

Mark Tolmacs 5 kuukautta sitten
vanhempi
commit
4184103eb0
1 muutettua tiedostoa jossa 0 lisäystä ja 7 poistoa
  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,