Browse Source

fix: X/Y Positioning Bug with elements, like buttons.

master
Denis Thiessen 6 months ago
parent
commit
e7815f62d6
  1. 4
      src/components/webpage_container/StudySite.jsx

4
src/components/webpage_container/StudySite.jsx

@ -27,8 +27,8 @@ export function StudySite(props) {
const mouseDataFunc = function(ev) { const mouseDataFunc = function(ev) {
if(!stopInput) { if(!stopInput) {
heatmapInstance.addData({ heatmapInstance.addData({
x: ev.layerX,
y: ev.layerY,
x: ev.x,
y: ev.y,
value: 1, value: 1,
}); });
} }

Loading…
Cancel
Save