Disabling pointer events on GPX tracks.
This commit is contained in:
parent
f9a6fb1d18
commit
05c560285a
|
@ -40,7 +40,9 @@ const Gpx: React.FC<{ gpx: any }> = (props) => {
|
||||||
)}`;
|
)}`;
|
||||||
}, '');
|
}, '');
|
||||||
|
|
||||||
return <path d={d} className={`track ${props.gpx.subtype}`} />;
|
return (
|
||||||
|
<path d={d} className={`track ${props.gpx.subtype}`} pointerEvents='none' />
|
||||||
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
export default Gpx;
|
export default Gpx;
|
||||||
|
|
Loading…
Reference in New Issue