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

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",