From 14223e51c5cbf9ae54ff031c92f6b8bb913487e8 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 3 Apr 2021 23:54:28 +0100 Subject: [PATCH] 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 --- templates/script.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2