Forráskód Böngészése

[skip ci] Refactor visual debug

Signed-off-by: Mark Tolmacs <[email protected]>
Mark Tolmacs 4 hónapja
szülő
commit
b2e19055bf

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

@@ -18,7 +18,7 @@ import {
 } from "@excalidraw/math";
 import { isCurve } from "@excalidraw/math/curve";
 
-import type { DebugElement } from "@excalidraw/excalidraw/visualdebug";
+import type { DebugElement } from "@excalidraw/common";
 
 import type { Curve } from "@excalidraw/math";
 

+ 1 - 0
packages/common/src/index.ts

@@ -9,3 +9,4 @@ export * from "./promise-pool";
 export * from "./random";
 export * from "./url";
 export * from "./utils";
+export * from "./visualdebug";

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