Fixed issue with moving cursor when icon updates.
This commit is contained in:
1 parent
00d4cf6858
commit
6f80c9f730
1 file changed
+4
-1
@@ -309,7 +309,10 @@ function GuacamoleClient(display, tunnel) {
|
|||||||
cursorImage = image;
|
cursorImage = image;
|
||||||
cursorHotspotX = x;
|
cursorHotspotX = x;
|
||||||
cursorHotspotY = y;
|
cursorHotspotY = y;
|
||||||
redrawCursor(cursorRectX, cursorRectY);
|
redrawCursor(
|
||||||
|
cursorRectX + cursorHotspotX,
|
||||||
|
cursorRectY + cursorHotspotY
|
||||||
|
);
|
||||||
};
|
};
|
||||||
image.src = "data:image/png;base64," + data
|
image.src = "data:image/png;base64," + data
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user