mirror of
https://gitlab.com/lecarore/breakout71.git
synced 2025-04-25 14:36:15 -04:00
Automatic deploy 29014379
This commit is contained in:
parent
8c2bc4f32b
commit
81224f928d
3 changed files with 7 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue