Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Contribute to GitLab
  • Sign in
N
noVNC
  • Project
    • Project
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • rasky
  • noVNC
  • Repository

Switch branch/tag
  • noVNC
  • include
History Find file
  • Source code
  • Download zip
  • Download tar.gz
  • Download tar.bz2
  • Download tar
  • Solly Ross's avatar
    Make Util.getPosition be relative to page · 7e54fb93
    Solly Ross authored 10 years ago
    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 tcp-client.js: after read, try read again. 12 years ago
web-socket-js Sync with websockify. 12 years ago
web-socket-js-project @ c0855c6c Sync with websockify. 12 years ago
Orbitron700.ttf Add local copy of Orbitron font. 13 years ago
Orbitron700.woff Add local copy of Orbitron font. 13 years ago
base.css Implement XVP UI in HTML 11 years ago
base64.js Cleanup and Test: base64.js 10 years ago
black.css Added Copyright information to all modified files. 12 years ago
blue.css Added Copyright information to all modified files. 12 years ago
des.js Cleanup: DES code 10 years ago
display.js Support automatic resize [Part 1/4]: display.js 10 years ago
input.js Cleanup: Input code 10 years ago
jsunzip.js Refactoring hot blocks to help Chrome optimizing compiler. 12 years ago
keyboard.js Fixes #309, make use of keysym.js 10 years ago
keysym.js Fixes issue #435 - added missing comma in keysym.js 10 years ago
keysymdef.js Keyboard Handling [7/8]: Replace keysym table with optimized version 11 years ago
logo.js Add logo, favicon. 14 years ago
playback.js include/playback.js: support binary (non-base64) data files. 12 years ago
rfb.js Fix disconnect/reconnect issues 10 years ago
ui.js Fix disconnect/reconnect issues 10 years ago
util.js Make Util.getPosition be relative to page 10 years ago
websock.js Unregister event listeners from websock. 10 years ago
webutil.js Cleanup: Webutil code 10 years ago