Files
noVNC/include
Solly Ross 7e54fb93dd Make Util.getPosition be relative to page
Commit 5108c4635c 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.
2015-02-27 13:37:13 -05:00
..
2013-04-25 09:52:10 -05:00
2014-09-15 16:46:02 -04:00
2014-02-17 17:55:28 -05:00
2014-09-15 16:46:02 -04:00
2014-09-15 16:46:02 -04:00
2014-11-26 09:24:13 +01:00
2011-02-03 11:04:32 -06:00
2015-02-25 11:01:18 -05:00
2015-02-25 11:01:18 -05:00
2014-09-15 16:46:02 -04:00