-
Solly Ross authored
Commit 5108c463 caused a regression in the case where scrolling is used -- getPosition return position relative to the viewport, while getEventPosition expected a position relative to the page. As per https://developer.mozilla.org/en-US/docs/Web/API/Element/getBoundingClientRect, the fix for this is simply to add the `pageXOffset` and `pageYOffset` to the output of `getBoundingClientRect()`. Fixes #459.
7e54fb93
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
chrome-app | Loading commit data... | |
web-socket-js | ||
web-socket-js-project @ c0855c6c | ||
Orbitron700.ttf | ||
Orbitron700.woff | ||
base.css | ||
base64.js | ||
black.css | ||
blue.css | ||
des.js | ||
display.js | ||
input.js | ||
jsunzip.js | ||
keyboard.js | ||
keysym.js | ||
keysymdef.js | ||
logo.js | ||
playback.js | ||
rfb.js | ||
ui.js | ||
util.js | ||
websock.js | ||
webutil.js |