fixed cursor coordinates

This commit is contained in:
Gerrit Brehmer 2019-12-10 00:26:03 +01:00
parent 77f344b6f8
commit aa19a0f844
2 changed files with 1 additions and 3 deletions

View File

@ -1965,8 +1965,6 @@ RFB.messages = {
pointerEvent(sock, disp, x, y, mask) { pointerEvent(sock, disp, x, y, mask) {
const buff = sock._sQ; const buff = sock._sQ;
const offset = sock._sQlen; const offset = sock._sQlen;
x = x / disp._scale;
y = y / disp._scale;
switch(disp._rotate) { switch(disp._rotate) {
case 'right': case 'right':
var a = x; var a = x;

View File

@ -1,6 +1,6 @@
{ {
"name": "@novnc/novnc", "name": "@novnc/novnc",
"version": "1.1.0-patch6", "version": "1.1.0-patch7",
"description": "An HTML5 VNC client", "description": "An HTML5 VNC client",
"browser": "lib/rfb", "browser": "lib/rfb",
"directories": { "directories": {