This commit is contained in:
“chrisshank” 2024-12-20 13:35:45 -08:00
parent 01397c52ac
commit 1ee56b76bd
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ rotation: from.x"
// ropes.forEach(rope => { rope.gravity = { x: 0, y: 0} })
}
async function enableGravity() {
window.enableGravity = async function enableGravity() {
if (DeviceOrientationEvent.requestPermission) {
const permission = await DeviceOrientationEvent.requestPermission();