1
0
Fork 0
mirror of https://github.com/mat-1/matdoesdev.git synced 2025-08-02 14:46:04 +00:00

actually add overflow:hidden

This commit is contained in:
mat 2024-04-13 21:08:08 +00:00
parent d63a5de6ae
commit 735ef72a16

View file

@ -8,7 +8,8 @@ export function initGravity(): () => void {
console.log('gravity enabled')
document.body.style.overflow = 'hidden'
const pageEl = document.getElementById('page')
if (pageEl) pageEl.style.overflow = 'hidden'
// create an engine
const engine = Engine.create({ enableSleeping: true })