diff options
Diffstat (limited to 'src/components/map/elements')
| -rw-r--r-- | src/components/map/elements/Backdrop.js | 2 | ||||
| -rw-r--r-- | src/components/map/elements/GrayLayer.js | 2 | ||||
| -rw-r--r-- | src/components/map/elements/HoverTile.js | 2 | ||||
| -rw-r--r-- | src/components/map/elements/RackFillBar.js | 2 | ||||
| -rw-r--r-- | src/components/map/elements/TileObject.js | 2 | ||||
| -rw-r--r-- | src/components/map/elements/TilePlusIcon.js | 2 | ||||
| -rw-r--r-- | src/components/map/elements/WallSegment.js | 2 |
7 files changed, 7 insertions, 7 deletions
diff --git a/src/components/map/elements/Backdrop.js b/src/components/map/elements/Backdrop.js index 32e95989..5022f747 100644 --- a/src/components/map/elements/Backdrop.js +++ b/src/components/map/elements/Backdrop.js @@ -1,6 +1,6 @@ import React from "react"; import {Rect} from "react-konva"; -import {BACKDROP_COLOR} from "../../../colors/index"; +import {BACKDROP_COLOR} from "../../../util/colors"; import {MAP_SIZE_IN_PIXELS} from "../MapConstants"; const Backdrop = () => ( diff --git a/src/components/map/elements/GrayLayer.js b/src/components/map/elements/GrayLayer.js index dfcbe71a..0cd91df8 100644 --- a/src/components/map/elements/GrayLayer.js +++ b/src/components/map/elements/GrayLayer.js @@ -1,6 +1,6 @@ import React from "react"; import {Rect} from "react-konva"; -import {GRAYED_OUT_AREA_COLOR} from "../../../colors/index"; +import {GRAYED_OUT_AREA_COLOR} from "../../../util/colors"; import {MAP_SIZE_IN_PIXELS} from "../MapConstants"; const GrayLayer = ({onClick}) => ( diff --git a/src/components/map/elements/HoverTile.js b/src/components/map/elements/HoverTile.js index 02d31714..b967f2f9 100644 --- a/src/components/map/elements/HoverTile.js +++ b/src/components/map/elements/HoverTile.js @@ -1,7 +1,7 @@ import PropTypes from "prop-types"; import React from "react"; import {Rect} from "react-konva"; -import {ROOM_HOVER_INVALID_COLOR, ROOM_HOVER_VALID_COLOR} from "../../../colors/index"; +import {ROOM_HOVER_INVALID_COLOR, ROOM_HOVER_VALID_COLOR} from "../../../util/colors"; import {TILE_SIZE_IN_PIXELS} from "../MapConstants"; const HoverTile = ({pixelX, pixelY, isValid, scale, onClick}) => ( diff --git a/src/components/map/elements/RackFillBar.js b/src/components/map/elements/RackFillBar.js index 7b1351a5..5b36d442 100644 --- a/src/components/map/elements/RackFillBar.js +++ b/src/components/map/elements/RackFillBar.js @@ -6,7 +6,7 @@ import { RACK_ENERGY_BAR_FILL_COLOR, RACK_SPACE_BAR_BACKGROUND_COLOR, RACK_SPACE_BAR_FILL_COLOR -} from "../../../colors/index"; +} from "../../../util/colors"; import { OBJECT_BORDER_WIDTH_IN_PIXELS, OBJECT_MARGIN_IN_PIXELS, diff --git a/src/components/map/elements/TileObject.js b/src/components/map/elements/TileObject.js index b1d3315e..252fcfc2 100644 --- a/src/components/map/elements/TileObject.js +++ b/src/components/map/elements/TileObject.js @@ -1,7 +1,7 @@ import PropTypes from "prop-types"; import React from "react"; import {Rect} from "react-konva"; -import {OBJECT_BORDER_COLOR} from "../../../colors/index"; +import {OBJECT_BORDER_COLOR} from "../../../util/colors"; import {OBJECT_BORDER_WIDTH_IN_PIXELS, OBJECT_MARGIN_IN_PIXELS, TILE_SIZE_IN_PIXELS} from "../MapConstants"; const TileObject = ({positionX, positionY, color}) => ( diff --git a/src/components/map/elements/TilePlusIcon.js b/src/components/map/elements/TilePlusIcon.js index ed5ef5b5..3283c3cd 100644 --- a/src/components/map/elements/TilePlusIcon.js +++ b/src/components/map/elements/TilePlusIcon.js @@ -1,7 +1,7 @@ import PropTypes from "prop-types"; import React from "react"; import {Group, Line} from "react-konva"; -import {TILE_PLUS_COLOR} from "../../../colors/index"; +import {TILE_PLUS_COLOR} from "../../../util/colors"; import {TILE_PLUS_MARGIN_IN_PIXELS, TILE_PLUS_WIDTH_IN_PIXELS, TILE_SIZE_IN_PIXELS} from "../MapConstants"; const TilePlusIcon = ({pixelX, pixelY, mapScale}) => { diff --git a/src/components/map/elements/WallSegment.js b/src/components/map/elements/WallSegment.js index ed3627bb..b029579b 100644 --- a/src/components/map/elements/WallSegment.js +++ b/src/components/map/elements/WallSegment.js @@ -1,7 +1,7 @@ import React from "react"; import {Line} from "react-konva"; -import {WALL_COLOR} from "../../../colors/index"; import Shapes from "../../../shapes/index"; +import {WALL_COLOR} from "../../../util/colors"; import {TILE_SIZE_IN_PIXELS, WALL_WIDTH_IN_PIXELS} from "../MapConstants"; const WallSegment = ({wallSegment}) => { |
