fix virtual peripherals pointer bug
This commit is contained in:
parent
7e5e346a11
commit
2fe1c305c6
|
@ -236,6 +236,10 @@
|
|||
}
|
||||
}
|
||||
|
||||
.virtual-peripherals {
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.water-spray {
|
||||
&.animate {
|
||||
animation-duration: 3s;
|
||||
|
|
|
@ -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({
|
||||
|
|
Loading…
Reference in a new issue