Automatic deploy 29014379

This commit is contained in:
Renan LE CARO 2025-03-01 21:59:41 +01:00
parent 8c2bc4f32b
commit 81224f928d
3 changed files with 7 additions and 6 deletions

View file

@ -187,6 +187,7 @@ const fitSize = () => {
document.documentElement.style.setProperty('--vh', `${window.innerHeight * 0.01}px`);
};
window.addEventListener("resize", fitSize);
window.addEventListener("fullscreenchange", fitSize);
function recomputeTargetBaseSpeed() {
// We never want the ball to completely stop, it will move at least 3px per frame