Overlay helper added to Overlay Set Position
@@ -5,7 +5,8 @@ import {
EVENT_ACTOR_MOVE_TO,
EVENT_ACTOR_SET_POSITION,
EVENT_OVERLAY_SHOW,
- EVENT_OVERLAY_MOVE_TO
+ EVENT_OVERLAY_MOVE_TO,
+ EVENT_OVERLAY_SET_POSITION
} from "../../lib/compiler/eventTypes";
const TILE_SIZE = 8;
@@ -34,7 +35,8 @@ class EventHelper extends Component {
}}
/>
) : event.command === EVENT_OVERLAY_SHOW ||
- event.command === EVENT_OVERLAY_MOVE_TO ? (
+ event.command === EVENT_OVERLAY_MOVE_TO ||
+ event.command === EVENT_OVERLAY_SET_POSITION ? (
<div className="EventHelper__OverlayPos">
<div
className="EventHelper__OverlayPos__Overlay"
