Browse Source

chore: Relocate visualdebug so ESLint doesn't complain (#9668)

Márk Tolmács 2 tháng trước cách đây
mục cha
commit
c141500400

+ 2 - 2
excalidraw-app/components/DebugCanvas.tsx

@@ -18,10 +18,10 @@ import {
 } from "@excalidraw/math";
 import { isCurve } from "@excalidraw/math/curve";
 
-import type { DebugElement } from "@excalidraw/excalidraw/visualdebug";
-
 import type { Curve } from "@excalidraw/math";
 
+import type { DebugElement } from "@excalidraw/utils/visualdebug";
+
 import { STORAGE_KEYS } from "../app_constants";
 
 const renderLine = (

+ 0 - 0
packages/excalidraw/visualdebug.ts → packages/utils/src/visualdebug.ts