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:
parent
d63a5de6ae
commit
735ef72a16
1 changed files with 2 additions and 1 deletions
|
@ -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 })
|
||||
|
|
Loading…
Add table
Reference in a new issue