summaryrefslogtreecommitdiff
path: root/src/scripts/views/layers/gray.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/scripts/views/layers/gray.ts')
-rw-r--r--src/scripts/views/layers/gray.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/scripts/views/layers/gray.ts b/src/scripts/views/layers/gray.ts
index ed3c9429..63911d19 100644
--- a/src/scripts/views/layers/gray.ts
+++ b/src/scripts/views/layers/gray.ts
@@ -33,9 +33,9 @@ export class GrayLayer implements Layer {
this.container.removeAllChildren();
- let roomBounds = Util.calculateRoomBounds(this.currentRoom);
+ const roomBounds = Util.calculateRoomBounds(this.currentRoom);
- let shape = new createjs.Shape();
+ const shape = new createjs.Shape();
shape.graphics.beginFill(Colors.GRAYED_OUT_AREA);
shape.cursor = "pointer";
@@ -142,4 +142,4 @@ export class GrayLayer implements Layer {
public isGrayedOut(): boolean {
return this.currentRoom !== undefined;
}
-} \ No newline at end of file
+}