From: Ian Jackson Date: Sat, 3 Apr 2021 22:54:28 +0000 (+0100) Subject: js: cursor: Make it default to "auto" X-Git-Tag: otter-0.5.0~215 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=14223e51c5cbf9ae54ff031c92f6b8bb913487e8;p=otter.git js: cursor: Make it default to "auto" Weirdly this SVG cursor disappears near the edge of the screen. WTF. Anyway, I should fix the fallback. Signed-off-by: Ian Jackson --- diff --git a/templates/script.ts b/templates/script.ts index fbc386fc..033f3862 100644 --- a/templates/script.ts +++ b/templates/script.ts @@ -502,7 +502,7 @@ function special_count_reupdate() { let svg_data = btoa(svg); style_text = `svg[id=space] { - cursor: url(data:image/svg+xml;base64,${svg_data}) ${xy}, text; + cursor: url(data:image/svg+xml;base64,${svg_data}) ${xy}, auto; }`; } style_elem.innerHTML = style_text;