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;
|
||||
cursorHotspotX = x;
|
||||
cursorHotspotY = y;
|
||||
redrawCursor(cursorRectX, cursorRectY);
|
||||
redrawCursor(
|
||||
cursorRectX + cursorHotspotX,
|
||||
cursorRectY + cursorHotspotY
|
||||
);
|
||||
};
|
||||
image.src = "data:image/png;base64," + data
|
||||
|
||||
|
||||
Reference in new issue
Block a user