fix virtual peripherals pointer bug

This commit is contained in:
gabrielburnworth 2018-01-23 15:39:38 -08:00
parent 7e5e346a11
commit 2fe1c305c6
2 changed files with 5 additions and 1 deletions

View file

@ -236,6 +236,10 @@
}
}
.virtual-peripherals {
pointer-events: none;
}
.water-spray {
&.animate {
animation-duration: 3s;

View file

@ -122,7 +122,7 @@ export function BotPeripherals(props: BotPeripheralsProps) {
const positionQ = getXYFromQuadrant(
(position.x || 0), (position.y || 0), quadrant, gridSize);
return <g id={"virtual-peripherals"}>
return <g className={"virtual-peripherals"}>
{peripherals.map((x, i) => {
if (x.label.toLowerCase().includes("light") && x.value) {
return lightsFigure({