mirror of
https://github.com/rustdesk/rustdesk.git
synced 2024-12-01 01:29:02 +08:00
This commit is contained in:
parent
2786fc97e9
commit
1c7f9b6f45
@ -187,7 +187,14 @@ function handler.onMouse(evt)
|
||||
case Event.MOUSE_MOVE:
|
||||
if (cursor_img.style#display != "none" && keyboard_enabled) {
|
||||
cursor_img.style#display = "none";
|
||||
handler.style#cursor = '';
|
||||
}
|
||||
if (!keyboard_enabled && handler.style#cursor) {
|
||||
handler.style#cursor = undefined;
|
||||
}
|
||||
if (keyboard_enabled && !handler.style#cursor) {
|
||||
if (cur_img) {
|
||||
handler.style.cursor(cur_img, cur_hotx, cur_hoty);
|
||||
}
|
||||
}
|
||||
break;
|
||||
case Event.MOUSE_WHEEL:
|
||||
@ -361,7 +368,6 @@ handler.setCursorPosition = function(x, y) {
|
||||
top: y + "px",
|
||||
};
|
||||
if (cursor_img.style#display == 'none') {
|
||||
handler.style#cursor = 'none';
|
||||
cursor_img.style#display = "block";
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user