diff options
Diffstat (limited to 'src/containers/map/layers/RoomHoverLayer.js')
| -rw-r--r-- | src/containers/map/layers/RoomHoverLayer.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/containers/map/layers/RoomHoverLayer.js b/src/containers/map/layers/RoomHoverLayer.js index 23f590d5..528e45d3 100644 --- a/src/containers/map/layers/RoomHoverLayer.js +++ b/src/containers/map/layers/RoomHoverLayer.js @@ -9,6 +9,8 @@ import { const mapStateToProps = state => { return { + mapPosition: state.map.position, + mapScale: state.map.scale, isEnabled: () => state.construction.currentRoomInConstruction !== -1, isValid: (x, y) => { if (state.interactionLevel.mode !== "BUILDING") { |
