Skip to content

feat(library): Enable on-demand marquee for song titles on long press#507

Merged
theovilardo merged 1 commit intotheovilardo:masterfrom
ColbyCabrera:master
Dec 13, 2025
Merged

feat(library): Enable on-demand marquee for song titles on long press#507
theovilardo merged 1 commit intotheovilardo:masterfrom
ColbyCabrera:master

Conversation

@ColbyCabrera
Copy link
Copy Markdown
Contributor

This commit updates the SongItem composable in the Library screen to handle long-press interactions for better title visibility.

  • Replaced the standard clickable modifier with pointerInput and detectTapGestures.
  • A long press now triggers AutoScrollingTextOnDemand, replacing the truncated static text with a scrolling view to reveal the full song title.
  • The marquee effect remains active during the press and resets when the user releases the item.
  • Includes minor code cleanup, such as removing unused imports and utilizing ifEmpty for collection handling.

This commit updates the `SongItem` composable in the Library screen to handle long-press interactions for better title visibility.

- Replaced the standard `clickable` modifier with `pointerInput` and `detectTapGestures`.
- A long press now triggers `AutoScrollingTextOnDemand`, replacing the truncated static text with a scrolling view to reveal the full song title.
- The marquee effect remains active during the press and resets when the user releases the item.
- Includes minor code cleanup, such as removing unused imports and utilizing `ifEmpty` for collection handling.
@theovilardo theovilardo merged commit 3941b5f into theovilardo:master Dec 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants