removed logging

This commit is contained in:
Orion Reed 2024-03-29 19:35:24 -07:00
parent 877acb3103
commit a567ca787b
2 changed files with 0 additions and 5 deletions

View File

@ -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;

View File

@ -29,8 +29,6 @@ export class HTMLShapeUtil extends ShapeUtil<HTMLShape> {
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');