Aakansha Doshi 1 年之前
父節點
當前提交
96fc3ac5bb
共有 2 個文件被更改,包括 1 次插入6 次删除
  1. 1 5
      packages/excalidraw/element/collision.ts
  2. 0 1
      packages/excalidraw/tests/scene/export.test.ts

+ 1 - 5
packages/excalidraw/element/collision.ts

@@ -8,11 +8,7 @@ import {
 
 import { getElementBounds } from "./bounds";
 import { FrameNameBounds } from "../types";
-import {
-  Polygon,
-  GeometricShape,
-  getPolygonShape,
-} from "@excalidraw/utils";
+import { Polygon, GeometricShape, getPolygonShape } from "@excalidraw/utils";
 import { isPointInShape, isPointOnShape } from "@excalidraw/utils";
 import { isTransparent } from "../utils";
 import {

+ 0 - 1
packages/excalidraw/tests/scene/export.test.ts

@@ -250,7 +250,6 @@ describe("exporting frames", () => {
         exportPadding: 0,
         exportingFrame: frame,
       });
-      console.log("SVG IS", svg.innerHTML);
       // frame itself isn't exported
       expect(svg.querySelector(`[data-id="${frame.id}"]`)).toBeNull();
       // frame child is exported