mirror of
https://github.com/tobspr/shapez.io.git
synced 2025-06-13 13:04:03 +00:00
fix lint
This commit is contained in:
parent
dafa943a18
commit
679683c805
@ -77,7 +77,7 @@ export class StorageSystem extends GameSystemWithFilter {
|
|||||||
}
|
}
|
||||||
|
|
||||||
switch (storageComp.displayType) {
|
switch (storageComp.displayType) {
|
||||||
case enumStorageDisplayType.count:
|
case enumStorageDisplayType.count: {
|
||||||
if (storedItem !== null) {
|
if (storedItem !== null) {
|
||||||
this.storageOverlaySprite.drawCached(parameters, center.x - 15, center.y + 15, 30, 15);
|
this.storageOverlaySprite.drawCached(parameters, center.x - 15, center.y + 15, 30, 15);
|
||||||
|
|
||||||
@ -89,8 +89,9 @@ export class StorageSystem extends GameSystemWithFilter {
|
|||||||
context.globalAlpha = 1;
|
context.globalAlpha = 1;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
case enumStorageDisplayType.rate:
|
case enumStorageDisplayType.rate: {
|
||||||
context.globalAlpha = 1;
|
context.globalAlpha = 1;
|
||||||
this.storageOverlaySprite.drawCached(parameters, center.x - 15, center.y + 15, 30, 15);
|
this.storageOverlaySprite.drawCached(parameters, center.x - 15, center.y + 15, 30, 15);
|
||||||
|
|
||||||
@ -108,6 +109,7 @@ export class StorageSystem extends GameSystemWithFilter {
|
|||||||
context.textAlign = "left";
|
context.textAlign = "left";
|
||||||
context.globalAlpha = 1;
|
context.globalAlpha = 1;
|
||||||
break;
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user