This commit is contained in:
Erik 2021-10-12 06:46:16 +02:00
parent 0cd096de25
commit d48827d0e2

View file

@ -342,7 +342,7 @@ async function songchange() {
Spicetify.Player.addEventListener("songchange", songchange)
function pickCoverColor(img) {
img.setAttribute('crossOrigin', '')
//img.setAttribute('crossOrigin', '')
var swatches = new Vibrant(img, 5).swatches()
lightCols = ["Vibrant", "DarkVibrant", "Muted", "LightVibrant"]
darkCols = ["Vibrant", "LightVibrant", "Muted", "DarkVibrant"]