1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2025-12-12 17:51:50 +00:00

*Fixed Formatting*🛠

This commit is contained in:
Christopher-Robin 2020-10-10 01:13:43 +11:00
parent 704867dcd0
commit 55f218b81f
No known key found for this signature in database
GPG Key ID: 39A83BF9D91CC108

View File

@ -251,8 +251,7 @@ export class HUDMassSelector extends BaseHUDPart {
.pressed .pressed
) { ) {
entities = this.root.map.getLayersContentsMultipleXY(x, y); entities = this.root.map.getLayersContentsMultipleXY(x, y);
} } else {
else{
entities = [this.root.map.getLayerContentXY(x, y, this.root.currentLayer)]; entities = [this.root.map.getLayerContentXY(x, y, this.root.currentLayer)];
} }
@ -274,7 +273,6 @@ export class HUDMassSelector extends BaseHUDPart {
* @param {DrawParameters} parameters * @param {DrawParameters} parameters
*/ */
draw(parameters) { draw(parameters) {
if (this.currentSelectionStartWorld) { if (this.currentSelectionStartWorld) {
const worldStart = this.currentSelectionStartWorld; const worldStart = this.currentSelectionStartWorld;
const worldEnd = this.root.camera.screenToWorld(this.currentSelectionEnd); const worldEnd = this.root.camera.screenToWorld(this.currentSelectionEnd);