Remove debug

This commit is contained in:
Mark Tolmacs 2025-04-21 14:56:58 +02:00
parent 52445aeb68
commit 230e47fd52

View file

@ -66,8 +66,6 @@ import type {
NonDeletedExcalidrawElement, NonDeletedExcalidrawElement,
} from "./types"; } from "./types";
import { debugDrawBounds } from "@excalidraw/utils/visualdebug";
type GridAddress = [number, number] & { _brand: "gridaddress" }; type GridAddress = [number, number] & { _brand: "gridaddress" };
type Node = { type Node = {
@ -1425,10 +1423,6 @@ const getElbowArrowData = (
: startPointBounds, : startPointBounds,
hoveredEndElement ? aabbForElement(hoveredEndElement) : endPointBounds, hoveredEndElement ? aabbForElement(hoveredEndElement) : endPointBounds,
); );
debugDrawBounds(endElementBounds);
// dynamicAABBs.forEach((aabb) => {
// debugDrawBounds(aabb);
// });
const startDonglePosition = getDonglePosition( const startDonglePosition = getDonglePosition(
dynamicAABBs[0], dynamicAABBs[0],
startHeading, startHeading,