diff options
| author | Georgios Andreadis <g.andreadis@student.tudelft.nl> | 2017-09-11 14:49:17 +0200 |
|---|---|---|
| committer | Georgios Andreadis <g.andreadis@student.tudelft.nl> | 2017-09-23 10:06:00 +0200 |
| commit | cbf8eb9cbf2f4082cb1a83955d435ebcb73be3ab (patch) | |
| tree | db58a2d9c363d3256270eb705b5ae13d51836c71 /src/components | |
| parent | aa448cb5c3e2e372dad1c79ffc32ff32144b4140 (diff) | |
Center datacenter on site load
Diffstat (limited to 'src/components')
| -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 f24e450f..524dd1ae 100644 --- a/src/components/map/MapConstants.js +++ b/src/components/map/MapConstants.js @@ -11,6 +11,9 @@ 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 SIDEBAR_WIDTH = 350; +export const VIEWPORT_PADDING = 50; + export const RACK_FILL_ICON_WIDTH = OBJECT_SIZE_IN_PIXELS / 3; export const RACK_FILL_ICON_OPACITY = 0.8; |
