You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recently(last month) the scrolling of page offset and getting coords within the viewer was changed but this was forgotten in the navcubeplugin. Therefore the navcube did not change and therefore does not respond well to scrolling and selecting within the navcube. Would it be possible to change to as per the other changes:
function getCoordsWithinElement(event) {
var coords = [0, 0];
if (!event) {
event = window.event;
coords[0] = event.x;
coords[1] = event.y;
} else {
var element = event.target;
const rect = element.getBoundingClientRect();
coords[0] = event.clientX - rect.left;
coords[1] = event.clientY - rect.top;
}
return coords;
}
The text was updated successfully, but these errors were encountered:
siem4
changed the title
[FIX] getCoordsWithinElement in navcubeplugin nog working with page scroll.
[FIX] getCoordsWithinElement in navcubeplugin not working with page scroll.
Dec 4, 2024
Recently(last month) the scrolling of page offset and getting coords within the viewer was changed but this was forgotten in the navcubeplugin. Therefore the navcube did not change and therefore does not respond well to scrolling and selecting within the navcube. Would it be possible to change to as per the other changes:
The text was updated successfully, but these errors were encountered: