removed logging
This commit is contained in:
parent
877acb3103
commit
a567ca787b
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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');
|
||||
|
|
|
|||
Loading…
Reference in New Issue