mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-17 00:01:28 +03:00
fix: sciter, cursor position mismatch (#13629)
Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
@@ -90,8 +90,10 @@ function adaptDisplay() {
|
|||||||
}
|
}
|
||||||
if (isRemoteLinux()) {
|
if (isRemoteLinux()) {
|
||||||
cursor_scale = display_scale * display_remote_scale;
|
cursor_scale = display_scale * display_remote_scale;
|
||||||
if (cursor_scale <= 0.0001) cursor_scale = 1.;
|
} else {
|
||||||
|
cursor_scale = display_scale;
|
||||||
}
|
}
|
||||||
|
if (cursor_scale <= 0.0001) cursor_scale = 1.;
|
||||||
refreshCursor();
|
refreshCursor();
|
||||||
handler.style.set {
|
handler.style.set {
|
||||||
width: w / scaleFactor + "px",
|
width: w / scaleFactor + "px",
|
||||||
|
|||||||
Reference in New Issue
Block a user