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:
parent
704867dcd0
commit
55f218b81f
@ -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);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user