fix: start word fills on time and blur lyrics on iOS #138

Merged
joshuafhiggins merged 1 commits from t3/lyrics-fill-timing into main 2026-11-20 00:56:52 -05:00
Owner

After #130, word fills did not animate and iOS showed no blur.

  • Web: a fill started before its word was due rewound to the beginning (play() on a not-yet-started animation), so every upcoming word filled at once. Each word's fill now runs on the song's timeline with its start as the delay, so it is never set to a negative time.
  • Mobile: the wipe now jumps to the reported playback time before animating, rather than possibly continuing from an old value.
  • iOS blur: React Native draws filter: [{ blur }] only with its enableSwiftUIBasedFilters flag, which only the canary release enables. A new local module, modules/swiftui-filters, keeps the stable flags and turns that one on after launch. It needs a native rebuild.

Typecheck passes in web and mobile, and web lint is clean. I checked the web fill timing in headless Chrome. Not verified in the apps.

Made by Claude Opus 5.5 in Claude Code (via T3 Code).

🤖 Generated with Claude Code

After #130, word fills did not animate and iOS showed no blur. - Web: a fill started before its word was due rewound to the beginning (`play()` on a not-yet-started animation), so every upcoming word filled at once. Each word's fill now runs on the song's timeline with its start as the delay, so it is never set to a negative time. - Mobile: the wipe now jumps to the reported playback time before animating, rather than possibly continuing from an old value. - iOS blur: React Native draws `filter: [{ blur }]` only with its `enableSwiftUIBasedFilters` flag, which only the canary release enables. A new local module, `modules/swiftui-filters`, keeps the stable flags and turns that one on after launch. It needs a native rebuild. Typecheck passes in web and mobile, and web lint is clean. I checked the web fill timing in headless Chrome. Not verified in the apps. Made by Claude Opus 5.5 in Claude Code (via T3 Code). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
joshuafhiggins added 1 commit 2026-11-20 00:56:12 -05:00
Web fills rewound to the start whenever played before their word, so every
upcoming word filled at once. iOS ignored the blur filter because React
Native draws it only with its SwiftUI filters flag, now turned on at launch.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
joshuafhiggins merged commit 81bbf78753 into main 2026-11-20 00:56:52 -05:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: joshuafhiggins/otunes#138