fixed cursor coordinates
This commit is contained in:
parent
77f344b6f8
commit
aa19a0f844
|
|
@ -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;
|
||||||
|
|
|
||||||
|
|
@ -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": {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue