Skip to content

Commit 9d25060

Browse files
committed
Slower rotation for Blocklive modal
1 parent 2f411ed commit 9d25060

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

api/blocklive-detection/blocklive-detect.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export default async function () {
5252
document.head.appendChild(link)
5353

5454
setInterval(function() {
55-
div.style.backgroundImage = `linear-gradient(${Math.round(Date.now() / 10) - (Math.floor(Math.round(Date.now() / 10) / 360) * 360).toString()}deg, #cf63cf, #cf63cf20, #ff9f00, #ff9f0020)`
55+
div.style.backgroundImage = `linear-gradient(${Math.round(Date.now() / 20) - (Math.floor(Math.round(Date.now() / 20) / 360) * 360).toString()}deg, #cf63cf, #cf63cf20, #ff9f00, #ff9f0020)`
5656
}, 10)
5757
}
5858
}

0 commit comments

Comments
 (0)