From d959a82a4b960dd5a8956b4174b6269771cf9ff6 Mon Sep 17 00:00:00 2001 From: Jake Date: Sun, 19 Apr 2026 10:16:53 +0100 Subject: [PATCH] =?UTF-8?q?fix(ui):=20remove=20cursor-following=20recordin?= =?UTF-8?q?g=20dot=20=E2=80=94=20distracting=20and=20redundant=20with=20st?= =?UTF-8?q?atus=20bar=20indicator?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app.css | 2 -- src/routes/+layout.svelte | 17 +---------------- 2 files changed, 1 insertion(+), 18 deletions(-) diff --git a/src/app.css b/src/app.css index f19b45c..1cffa56 100644 --- a/src/app.css +++ b/src/app.css @@ -384,8 +384,6 @@ textarea, input, [data-no-transition] { animation: sinhala-spin 2s linear infinite; } -/* Recording indicator dot (follows mouse via JS, see +layout.svelte) */ - /* === Reduced Motion === */ @media (prefers-reduced-motion: reduce) { *, diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index ffeb3d2..c8484d9 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -27,15 +27,6 @@ $sveltePage.url.pathname.startsWith("/viewer") ); - // Recording indicator dot (follows mouse) - let mouseX = $state(0); - let mouseY = $state(0); - - function handleMouseMove(e) { - mouseX = e.clientX; - mouseY = e.clientY; - } - // Theme — migrate from old class-based to new data-attribute system // The preferences store handles DOM application via data-theme attribute $effect(() => { @@ -262,14 +253,8 @@ }); - + -{#if page.recording} -
-{/if} {#if isSecondaryWindow}