current-song2 icon indicating copy to clipboard operation
current-song2 copied to clipboard

Suggestion: Disappear when music is paused

Open thebrightspark opened this issue 2 years ago • 4 comments

I realised that when music is paused, the overlay is still visible.

Can we get a config to make the overlay disappear (like V1 did)?

I liked that feature before as it meant I could have the overlay on all my OBS scenes and it'd just show up automatically when I play music. I can get around it if I want to by hiding the overlay when the music is paused, but that's a bit less reliable.

thebrightspark avatar Jul 09 '22 19:07 thebrightspark

This is a bug. I think it should be fixed in v0.1.0-alpha.7 (through PR #59)

Nerixyz avatar Jul 10 '22 16:07 Nerixyz

Can confirm that it indeed works 👌

Personally would love if we could get some animation to disappearing/reappearing at some point (a simple fade in/out would be great), but this works as required regardless.

Thanks!

thebrightspark avatar Jul 10 '22 20:07 thebrightspark

There should be an animation on the overlay already: https://github.com/Nerixyz/current-song2/blob/71f5744dcba9623589f776bcb3d1405e729e7804/js/packages/client/src/index.css#L34-L36 https://github.com/Nerixyz/current-song2/blob/71f5744dcba9623589f776bcb3d1405e729e7804/js/packages/client/src/index.css#L111-L114

Nerixyz avatar Jul 10 '22 21:07 Nerixyz

Ah I see! Sorry, was due to having transition: none; in mine. That was because I was using the transparent example as a base which has that set as so. Works fine now I've removed it from my theme 👌

thebrightspark avatar Jul 14 '22 19:07 thebrightspark