diff options
| author | Georgios Andreadis <g.andreadis@student.tudelft.nl> | 2017-09-08 20:16:55 +0200 |
|---|---|---|
| committer | Georgios Andreadis <g.andreadis@student.tudelft.nl> | 2017-09-23 10:05:59 +0200 |
| commit | c9e70ec95f733caa253b362e154b47cd5a26cbfe (patch) | |
| tree | a4e221822909faaab66358ee066036c46a732178 /src/components/map/MapConstants.js | |
| parent | 6296bb95ba93cb9111e19f06329b6c9b9aec57d5 (diff) | |
Display rack space and energy fill on overlay
Diffstat (limited to 'src/components/map/MapConstants.js')
| -rw-r--r-- | src/components/map/MapConstants.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/components/map/MapConstants.js b/src/components/map/MapConstants.js index d700ee49..f6f47564 100644 --- a/src/components/map/MapConstants.js +++ b/src/components/map/MapConstants.js @@ -11,4 +11,7 @@ export const WALL_WIDTH_IN_PIXELS = TILE_SIZE_IN_PIXELS / 8; export const OBJECT_BORDER_WIDTH_IN_PIXELS = TILE_SIZE_IN_PIXELS / 12; export const TILE_PLUS_WIDTH_IN_PIXELS = TILE_SIZE_IN_PIXELS / 10; +export const RACK_FILL_ICON_WIDTH = OBJECT_SIZE_IN_PIXELS / 3; +export const RACK_FILL_ICON_OPACITY = 0.8; + export const MAP_MOVE_PIXELS_PER_EVENT = 20; |
