From 96e21dfcb445b17b511be98f0670e001c6366ac3 Mon Sep 17 00:00:00 2001 From: Isaac Shoebottom Date: Sun, 3 Jul 2022 01:38:46 -0300 Subject: [PATCH] 60 fps animation --- script.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script.js b/script.js index faec032..bc78fe1 100644 --- a/script.js +++ b/script.js @@ -2,7 +2,7 @@ // @name Spotify Background Changer // @namespace http://tampermonkey.net/ // @source https://github.com/Glaceon575/SpotifyBackgroundSwitcher -// @version 0.1.2 +// @version 0.1.3 // @description Changes the background of Spotify playlists and albums in a rainbow pattern // @author Isaac Shoebottom // @updateURL https://raw.githubusercontent.com/Glaceon575/SpotifyBackgroundSwitcher/master/script.js @@ -17,7 +17,7 @@ let background; let colorInterval; const selector = ".gHImFiUWOg93pvTefeAD.xYgjMpAjE5XT05aRIezb"; -const timer = 33; //in milliseconds +const timer = 16; //in milliseconds const probeTimer = 500 //in milliseconds, timer for checking for selector const difference = 60; //delta between the top and bottom