1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2024-10-27 20:34:29 +00:00

Remove unnecessary console.log's

This commit is contained in:
tobspr 2020-05-16 18:04:08 +02:00
parent ed9f50ba05
commit 436f700606
4 changed files with 0 additions and 9 deletions

View File

@ -82,14 +82,11 @@ export class Rectangle {
this.y = centerY - halfHeight;
this.w = halfWidth * 2;
this.h = halfHeight * 2;
// console.log("Assigned", this.x, this.y, this.w, this.h);
} else {
// console.log("before", this.x, this.y, this.w, this.h);
this.setLeft(Math_min(this.x, centerX - halfWidth));
this.setRight(Math_max(this.right(), centerX + halfWidth));
this.setTop(Math_min(this.y, centerY - halfHeight));
this.setBottom(Math_max(this.bottom(), centerY + halfHeight));
// console.log("Extended", this.x, this.y, this.w, this.h);
}
}

View File

@ -114,7 +114,6 @@ export class MetaUndergroundBeltBuilding extends MetaBuilding {
// If we encounter an underground receiver on our way which is also faced in our direction, we don't accept that
break;
}
// console.log("GOT IT! rotation is", rotation, "and target is", staticComp.rotation);
return {
rotation: targetRotation,

View File

@ -49,10 +49,6 @@ export class HUDProcessingOverlay extends BaseHUDPart {
task();
return;
}
// if (name) {
// console.warn("QUEUE", name);
// }
task.__name = name;
this.tasks.push(task);
}

View File

@ -112,7 +112,6 @@ export class HUDShop extends BaseHUDPart {
container.appendChild(pinButton);
if (this.root.hud.parts.pinnedShapes.isShapePinned(shape)) {
console.log("ALREADY PINNED:", shape);
pinButton.classList.add("alreadyPinned");
}