From 2da982b53462b5336dd09e83414115ccb15e9950 Mon Sep 17 00:00:00 2001 From: "zeon-neon[bot]" <136533918+zeon-neon[bot]@users.noreply.github.com> Date: Thu, 26 Jun 2025 02:08:04 +0000 Subject: [PATCH] enhancement(lint): Fix lint errors for components/Backdrop.vue Co-authored-by: NeonGamerBot-QK Signed-off-by: zeon-neon[bot] <136533918+zeon-neon[bot]@users.noreply.github.com> --- components/Backdrop.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/components/Backdrop.vue b/components/Backdrop.vue index 3fdee7bd..2fed7c16 100644 --- a/components/Backdrop.vue +++ b/components/Backdrop.vue @@ -20,7 +20,7 @@ class Char { draw() { const distToCursor = Math.hypot( this.x - cursor.value.x, - this.y - cursor.value.y + this.y - cursor.value.y, ); const highlight = Math.max(0, 0.5 - distToCursor / 250); @@ -66,7 +66,7 @@ const init = () => { const minColumns = 15; // Ensure at least this many columns on mobile const columns = Math.max( minColumns, - Math.floor(window.innerWidth / columnSpacing) + Math.floor(window.innerWidth / columnSpacing), ); // Adjust rows based on screen height @@ -75,7 +75,7 @@ const init = () => { const maxRows = 25; // Cap for performance on large screens const rows = Math.min( maxRows, - Math.max(minRows, Math.floor(window.innerHeight / rowSpacing)) + Math.max(minRows, Math.floor(window.innerHeight / rowSpacing)), ); chars = []; @@ -84,7 +84,7 @@ const init = () => { const x = i * (window.innerWidth / columns); // Evenly distribute columns const y = j * rowSpacing - Math.random() * window.innerHeight; const char = String.fromCharCode( - 0x2729 + Math.floor(Math.random() * 706) + 0x2729 + Math.floor(Math.random() * 706), ); chars.push(new Char(x, y, char)); }