Aakansha Doshi 1 éve
szülő
commit
96fc3ac5bb

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

@@ -8,11 +8,7 @@ import {
 
 
 import { getElementBounds } from "./bounds";
 import { getElementBounds } from "./bounds";
 import { FrameNameBounds } from "../types";
 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 { isPointInShape, isPointOnShape } from "@excalidraw/utils";
 import { isTransparent } from "../utils";
 import { isTransparent } from "../utils";
 import {
 import {

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

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