summaryrefslogtreecommitdiff
path: root/src/scripts/views/layers/gray.ts
diff options
context:
space:
mode:
authorGeorgios Andreadis <G.Andreadis@student.tudelft.nl>2017-01-27 10:26:54 +0100
committerGitHub <noreply@github.com>2017-01-27 10:26:54 +0100
commit50fcb0634c9ebe894988103184d50d372bc76907 (patch)
tree5af172c03599f7c680cd32205eab5329b841c85c /src/scripts/views/layers/gray.ts
parent3ad08353d289720cf8f43e1dba078da43c35e97d (diff)
parentb462c9183ec7c2e41f14daad49f03d8afaa4ec59 (diff)
Merge pull request #4 from tudelft-atlarge/states-batch-fetch
Fetch experiment states in one batch
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
+}