From 679683c805bb1b3d7bd7c4dc5456cadb519eb04e Mon Sep 17 00:00:00 2001 From: isaisstillalive Date: Wed, 1 Jul 2020 23:40:40 +0900 Subject: [PATCH] fix lint --- src/js/game/systems/storage.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/js/game/systems/storage.js b/src/js/game/systems/storage.js index 67464e9b..d1a0074f 100644 --- a/src/js/game/systems/storage.js +++ b/src/js/game/systems/storage.js @@ -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; + } } } }