fix: sciter, cursor position mismatch (#13629)

Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
fufesou 2025-11-25 23:05:31 +08:00 committed by GitHub
parent 33e1493932
commit ae06f27372
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -90,8 +90,10 @@ function adaptDisplay() {
}
if (isRemoteLinux()) {
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();
handler.style.set {
width: w / scaleFactor + "px",