feat(snippets): Rotating Album Cover Fix#493
Closed
hikagee wants to merge 9 commits intospicetify:mainfrom
hikagee:main
Closed
feat(snippets): Rotating Album Cover Fix#493hikagee wants to merge 9 commits intospicetify:mainfrom hikagee:main
hikagee wants to merge 9 commits intospicetify:mainfrom
hikagee:main
Conversation
kyrie25
requested changes
May 21, 2023
Member
kyrie25
left a comment
There was a problem hiding this comment.
Please fix the previous snippet instead of making a new one with the exact functionality
Author
|
Can I add my cover picture for the addon? |
Member
If the previous one works then there would be no need for it. |
kyrie25
requested changes
May 21, 2023
| "description": "Adds circular mask to cover art and rotation", | ||
| "code": `@keyframes rotating { from { transform: rotate(0deg); } to { transform: rotate(360deg); }} .cover-art { animation: rotating 2s linear infinite; clip-path: circle(50% at 50% 50%);}`, | ||
| "preview": "resources/assets/snippets/rotating-coverart.png", | ||
| "code": `@keyframes rotating { from { transform: rotate(0deg); } to { transform: rotate(360deg); }} .FqmFsMhuF4D0s35Z62Js, .zmOtW0vqqn1qpZrtQ_w9 { animation: rotating 10s linear infinite; clip-path: circle(50% at 50% 50%);} .H0HbpIM3UrcupWIAjLWu { background: none; } .H0HbpIM3UrcupWIAjLWu { background: none; } .main-coverSlotCollapsed-container { padding-right: 10px !important; }`, |
Member
There was a problem hiding this comment.
These classes are already mapped in latest css-map commits and the snippet still works as expected.
Spotify_BTCVTYeoBt.mp4
Run spicetify restore backup apply to fetch the new mappings
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
After a Spotify update I noticed that the old "Rotating Cover Art" does not work anymore (at least for me). So I wrote a new one that works.