Thanks to visit codestin.com
Credit goes to github.com

Skip to content

πŸ›v4.0.1 Changelog: Fix bug

Latest

Choose a tag to compare

@ibratabian17 ibratabian17 released this 22 Nov 06:49
· 66 commits to main since this release

v4.0.1

This update only bring visual and parsing bug issue that happen on 4.0.0. Nothing else.

πŸ› Fixes & Improvements

Rendering & Layout

  • Gradient Bleeding Fix: Rewrote the preWipe system using a velocity physics-based approach to resolve lyrics gradient bleeding issues.
  • Growable Lyrics: Fixed an issue where text was mispositioned in growable mode.
  • Text Calculation:
    • Fixed character width calculation by excluding kerning and preventing leading/trailing spaces from affecting width.
    • Fixed em sizing logic to correctly utilize font-size.
  • Visuals:
    • Canvas: Adjusted WebGL canvas aspect ratio to 1:1 (Square) for correct display.
    • Wipe Animation: Refined animation keyframes to handle long words better.
    • Styling: Fixed an issue where style removal was too aggressive.

Core System & Parsing

  • LRC Parsing: Major overhaul to parsing logic, supporting KPoe format, word-level timestamps, speaker tags, and negative offsets.
  • Synchronization: Added audio output latency compensation for precise lyric timing.
  • Performance: Fixed a RAM leak issue during prolonged usage.
  • Compatibility: Fixed pBrowser fallback logic for broader browser support.

♻️ Refactor

  • Code Maintainability: Tidied up the renderWordByWord function to improve code structure.