mirror of
https://github.com/tobspr/shapez.io.git
synced 2026-03-02 03:39:21 +00:00
Remove unnecessary console.log's
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user