fix: move doBoundsIntersect from element/src/bounds.ts to common/math/src/utils.ts (#9650)

move doBoundsIntersect to math/utils

Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
This commit is contained in:
zsviczian
2025-06-14 13:01:30 +02:00
committed by GitHub
parent 320af405e9
commit 84e96e9393
6 changed files with 22 additions and 22 deletions
+1 -1
View File
@@ -11,6 +11,7 @@ import {
vectorFromPoint,
vectorNormalize,
vectorScale,
doBoundsIntersect,
} from "@excalidraw/math";
import {
@@ -25,7 +26,6 @@ import type { FrameNameBounds } from "@excalidraw/excalidraw/types";
import { isPathALoop } from "./utils";
import {
type Bounds,
doBoundsIntersect,
elementCenterPoint,
getCenterForBounds,
getElementBounds,