diff --git a/src/physics/simulation.ts b/src/physics/simulation.ts index 31c318e..2a07a7b 100644 --- a/src/physics/simulation.ts +++ b/src/physics/simulation.ts @@ -46,10 +46,7 @@ export class PhysicsWorld { } public addShapes(shapes: TLShape[]) { - console.log('adding shapesss'); - for (const shape of shapes) { - console.log('shape'); if ('color' in shape.props && shape.props.color === "violet") { this.createCharacter(shape as TLGeoShape); continue; diff --git a/src/shapes/HTMLShapeUtil.tsx b/src/shapes/HTMLShapeUtil.tsx index d90e0e7..3e4e829 100644 --- a/src/shapes/HTMLShapeUtil.tsx +++ b/src/shapes/HTMLShapeUtil.tsx @@ -29,8 +29,6 @@ export class HTMLShapeUtil extends ShapeUtil { if (!element || !element.parentElement) return resizeBox(shape, info); const { width, height } = element.parentElement.getBoundingClientRect(); if (element) { - console.log(element); - const isOverflowing = element.scrollWidth > width || element.scrollHeight > height; if (isOverflowing) { element.parentElement?.classList.add('overflowing');