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) {
|
||||
case enumStorageDisplayType.count:
|
||||
case enumStorageDisplayType.count: {
|
||||
if (storedItem !== null) {
|
||||
this.storageOverlaySprite.drawCached(parameters, center.x - 15, center.y + 15, 30, 15);
|
||||
|
||||
@ -89,8 +89,9 @@ export class StorageSystem extends GameSystemWithFilter {
|
||||
context.globalAlpha = 1;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
case enumStorageDisplayType.rate:
|
||||
case enumStorageDisplayType.rate: {
|
||||
context.globalAlpha = 1;
|
||||
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.globalAlpha = 1;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user