mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 21:27:40 +00:00
GUAC-823: Cursors must end with a cursor keyword (see https://developer.mozilla.org/en-US/docs/Web/CSS/cursor/url).
This commit is contained in:
@@ -333,7 +333,7 @@ Guacamole.Mouse = function(element) {
|
|||||||
// Attempt to set via CSS3 cursor styling
|
// Attempt to set via CSS3 cursor styling
|
||||||
if (CSS3_CURSOR_SUPPORTED) {
|
if (CSS3_CURSOR_SUPPORTED) {
|
||||||
var dataURL = canvas.toDataURL('image/png');
|
var dataURL = canvas.toDataURL('image/png');
|
||||||
element.style.cursor = "url(" + dataURL + ") " + x + " " + y;
|
element.style.cursor = "url(" + dataURL + ") " + x + " " + y + ", auto";
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user