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:
parent
ed9f50ba05
commit
436f700606
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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,
|
||||
|
@ -49,10 +49,6 @@ export class HUDProcessingOverlay extends BaseHUDPart {
|
||||
task();
|
||||
return;
|
||||
}
|
||||
// if (name) {
|
||||
// console.warn("QUEUE", name);
|
||||
// }
|
||||
|
||||
task.__name = name;
|
||||
this.tasks.push(task);
|
||||
}
|
||||
|
@ -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");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user