From 71b87020c92a33b09e714a449d4083f82a813002 Mon Sep 17 00:00:00 2001 From: pptx704 Date: Tue, 14 Apr 2026 04:32:17 +0600 Subject: [PATCH] Remove redundant comments from login page glow animation --- frontend/src/routes/login/+page.svelte | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/frontend/src/routes/login/+page.svelte b/frontend/src/routes/login/+page.svelte index b3b76e8..116b3a0 100644 --- a/frontend/src/routes/login/+page.svelte +++ b/frontend/src/routes/login/+page.svelte @@ -35,7 +35,7 @@ let targetY = 50; let rafId: number | null = null; - const LERP_FACTOR = 0.04; // lower = more drag + const LERP_FACTOR = 0.04; function lerpLoop() { const dx = targetX - glowX; @@ -58,7 +58,6 @@ const normX = (e.clientX - rect.left) / rect.width; const normY = (e.clientY - rect.top) / rect.height; - // Invert: mouse goes right → glow goes left targetX = 55 - normX * 10; targetY = 55 - normY * 10;