Browse Source

[skip ci] Remove debug

Signed-off-by: Mark Tolmacs <[email protected]>
Mark Tolmacs 4 months ago
parent
commit
ccda36a0e3
1 changed files with 1 additions and 6 deletions
  1. 1 6
      packages/element/src/linearElementEditor.ts

+ 1 - 6
packages/element/src/linearElementEditor.ts

@@ -18,9 +18,6 @@ import {
   getGridPoint,
   invariant,
   tupleToCoors,
-  debugDrawPoint,
-  debugClear,
-  debugDrawBounds,
 } from "@excalidraw/common";
 
 // TODO: remove direct dependency on the scene, should be passed in or injected instead
@@ -49,9 +46,7 @@ import {
   isBindingEnabled,
 } from "./binding";
 import {
-  getCommonBoundingBox,
   getElementAbsoluteCoords,
-  getElementBounds,
   getElementPointsCoords,
   getMinMaxXYFromCurvePathOps,
 } from "./bounds";
@@ -337,7 +332,7 @@ export class LinearElementEditor {
 
         const deltaX = newDraggingPointPosition[0] - draggingPoint[0];
         const deltaY = newDraggingPointPosition[1] - draggingPoint[1];
-        debugClear();
+
         LinearElementEditor.movePoints(
           element,
           selectedPointsIndices.map((pointIndex) => {