mirror of
https://github.com/mat-1/matdoesdev.git
synced 2025-08-02 14:46:04 +00:00
set overflow: hidden
This commit is contained in:
parent
ca8d62fb03
commit
bcf1e09e4f
1 changed files with 2 additions and 0 deletions
|
@ -8,6 +8,8 @@ export function initGravity(): () => void {
|
|||
|
||||
console.log('gravity enabled')
|
||||
|
||||
document.body.style.overflow = 'hidden'
|
||||
|
||||
// create an engine
|
||||
const engine = Engine.create({ enableSleeping: true })
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue