summaryrefslogtreecommitdiff
path: root/src/containers/map/layers/ObjectHoverLayer.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/containers/map/layers/ObjectHoverLayer.js')
-rw-r--r--src/containers/map/layers/ObjectHoverLayer.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/containers/map/layers/ObjectHoverLayer.js b/src/containers/map/layers/ObjectHoverLayer.js
index d0cc35fd..b0201257 100644
--- a/src/containers/map/layers/ObjectHoverLayer.js
+++ b/src/containers/map/layers/ObjectHoverLayer.js
@@ -5,6 +5,8 @@ import {findTileWithPosition} from "../../../util/tile-calculations";
const mapStateToProps = state => {
return {
+ mapPosition: state.map.position,
+ mapScale: state.map.scale,
isEnabled: () => state.construction.inRackConstructionMode,
isValid: (x, y) => {
if (state.interactionLevel.mode !== "ROOM") {