Socketlike / SpotifyModal

A Post-SWC Replugged plugin that shows a little modal on your user dock that lets you see & control what you're playing on Spotify.
MIT License
8 stars 2 forks source link

Overflow when there are a lot of artists #1

Closed Teltta closed 1 year ago

Teltta commented 1 year ago

The artist names overflow when there are multiple artists with long names. image

Socketlike commented 1 year ago

Would you mind sending the song link in question here?

Teltta commented 1 year ago

https://open.spotify.com/track/5OsotZsU0NgNznvzVTpL8W?si=2e26c0e1a5134a09

here's a couple of other songs that i was able to reproduce the overflow with: https://open.spotify.com/track/66j2GZdu8DKgpa1p05sYXC?si=b94bcd68e5a34736 https://open.spotify.com/track/0OKHUom3gY9xWago6Y1BKk?si=4b607a26f5ca4c93

Socketlike commented 1 year ago

For now I've made the artists list trim out the overflow just like the song title. I have been trying to add a looping text scroll animation to the list but it's not working out so well (translateX(-100%) doesn't go to the end of the list element) .-.

Socketlike commented 1 year ago

I have pushed a change to the codebase that adds the animation that I was talking about previously to the song title and the artists list. Would you mind testing it?

Teltta commented 1 year ago

Sorry for the late response, I just tested it, and it seems to be working though sometimes the artists get cut off instead of the scrolling animation taking place but in my opinion that's not a big problem and would avoid yet another headache on your end.

image

Socketlike commented 1 year ago

May I close this issue now?

Teltta commented 1 year ago

Yea go ahead.