From e82cc0a016406424c3d27d17d082729cba290b7a Mon Sep 17 00:00:00 2001 From: name Date: Sat, 11 Apr 2026 19:20:03 -0700 Subject: [PATCH] tune song preview timing: 300ms delay, 1s fade-in Co-Authored-By: Claude Opus 4.6 (1M context) --- src/features/song-select/useSongPreview.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/features/song-select/useSongPreview.ts b/src/features/song-select/useSongPreview.ts index 6f939ca..4fb0ec8 100644 --- a/src/features/song-select/useSongPreview.ts +++ b/src/features/song-select/useSongPreview.ts @@ -1,9 +1,9 @@ import { useEffect, useRef } from 'react' import type { Song } from './types' -const PREVIEW_DELAY_MS = 2000 +const PREVIEW_DELAY_MS = 300 const PREVIEW_START_SEC = 30 -const FADE_IN_MS = 1500 +const FADE_IN_MS = 1000 const FADE_STEP_MS = 50 const FADE_OUT_MS = 400 const MAX_VOLUME = 0.5