From a280d3df8de15c2d53573c8a82266c4b246ef4ec Mon Sep 17 00:00:00 2001 From: meowarex Date: Tue, 4 Aug 2026 05:49:43 +1000 Subject: [PATCH 1/2] Remove Redundant Scroll Code <3 --- plugins/radiant-lyrics-luna/src/index.ts | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/plugins/radiant-lyrics-luna/src/index.ts b/plugins/radiant-lyrics-luna/src/index.ts index 174bc88..62e20c8 100644 --- a/plugins/radiant-lyrics-luna/src/index.ts +++ b/plugins/radiant-lyrics-luna/src/index.ts @@ -2370,7 +2370,7 @@ const scheduleRemoteTrackChangeResync = (attempt = 0): void => { return; } snapPlaybackInterpolationToPlayer(); - resync(false); + resync(); sylLog("[RL-Syllable] Post-track-change resync"); }, 150, @@ -3643,15 +3643,11 @@ const scrollToActiveLine = (): void => { }; // Resync lyric scroll (scrubbing and lyric jumps) -const resync = (syncNativeButton = true): void => { +const resync = (): void => { setScrollSynced(true); applyInactiveBlurState(primaryLineIdx, activeLineIdxs.size === 0, activeLineIdxs); scrollToActiveLine(); - const nativeSyncButton = syncButtonEl; unhookSyncButton(); - if (syncNativeButton && nativeSyncButton?.isConnected) { - nativeSyncButton.click(); - } sylLog("[RL-Syllable] Scroll resynced"); }; @@ -3688,7 +3684,7 @@ const SYNC_BTN_SELECTOR = 'div[class*="_syncButton"] button'; const attachSyncButtonHandler = (btn: HTMLElement): void => { syncButtonEl = btn; - const handler = () => resync(false); + const handler = () => resync(); btn.addEventListener("click", handler); syncButtonListener = () => btn.removeEventListener("click", handler); }; From a3e5ea2772262b92d597b6ec7b4adbdb1eb3948d Mon Sep 17 00:00:00 2001 From: meowarex Date: Tue, 4 Aug 2026 05:58:44 +1000 Subject: [PATCH 2/2] Fix line spacing <3 --- plugins/radiant-lyrics-luna/src/styles.css | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/radiant-lyrics-luna/src/styles.css b/plugins/radiant-lyrics-luna/src/styles.css index 2e24e0a..178763e 100644 --- a/plugins/radiant-lyrics-luna/src/styles.css +++ b/plugins/radiant-lyrics-luna/src/styles.css @@ -446,6 +446,7 @@ body.rl-integrated-seekbar [data-test="footer-player"] [class*="playerContent"] .rl-wbw-line { --rl-line-shift: 20px; text-align: left; + line-height: 1.15; padding-left: 0; padding-right: var(--rl-line-shift); filter: none;