summaryrefslogtreecommitdiff
path: root/src/containers/app/map
diff options
context:
space:
mode:
authorGeorgios Andreadis <G.Andreadis@student.tudelft.nl>2017-11-08 10:47:37 +0100
committerGitHub <noreply@github.com>2017-11-08 10:47:37 +0100
commitaef3e697f02806a47dec3843a071f8b5cd9980bc (patch)
tree114400610f6d9708f774ac8af8954588bbf50fb3 /src/containers/app/map
parent2f71cb1c9fd3e649a1f0e6f713922a73372f064e (diff)
parent1f4616cbf9c82e4976d1f4b4c018d5e9ff83ad10 (diff)
Merge pull request #55 from atlarge-research/feature/24/room-edit
Implement room editing
Diffstat (limited to 'src/containers/app/map')
-rw-r--r--src/containers/app/map/layers/RoomHoverLayer.js4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/containers/app/map/layers/RoomHoverLayer.js b/src/containers/app/map/layers/RoomHoverLayer.js
index 910d47fb..020102bf 100644
--- a/src/containers/app/map/layers/RoomHoverLayer.js
+++ b/src/containers/app/map/layers/RoomHoverLayer.js
@@ -13,10 +13,6 @@ const mapStateToProps = state => {
mapScale: state.map.scale,
isEnabled: () => state.construction.currentRoomInConstruction !== -1,
isValid: (x, y) => {
- if (state.interactionLevel.mode !== "BUILDING") {
- return false;
- }
-
const newRoom = Object.assign(
{},
state.objects.room[state.construction.currentRoomInConstruction]