1
0
Fork 0
mirror of https://github.com/Ylianst/MeshCentral.git synced 2025-03-09 15:40:18 +00:00

Explicitly set canvas cursor to show up on remote desktop.

This commit is contained in:
Ylian Saint-Hilaire 2019-02-06 12:05:55 -08:00
parent 86b5e4a85d
commit ea0068685b
9 changed files with 8 additions and 6 deletions

View file

@ -68,9 +68,9 @@ var CreateAmtRemoteDesktop = function (divid, scrolldiv) {
obj.canvas.fillRect(0, 0, obj.width, obj.height);
obj.canvas.canvas.width = obj.rwidth = obj.width = 640;
obj.canvas.canvas.height = obj.rheight = obj.height = 400;
QS(obj.canvasid).cursor = 'auto';
QS(obj.canvasid).cursor = 'default';
} else {
if (!obj.showmouse) { QS(obj.canvasid).cursor = 'none'; }
QS(obj.canvasid).cursor = obj.showmouse ?'default':'none';
}
}