Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
wellcaffeinated committed Nov 6, 2023
1 parent 47ed806 commit 2f3b489
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scenes/Space.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@
ref.lookAt(sun.position)
rig = new CameraRig(ref, scene)
controls = new FreeMovementControls(rig, {
domElement: renderer.domElement,
domElement: renderer.domElement.parentNode,
tiltDegreeFactor: Math.PI / 6,
panDegreeFactor: Math.PI / 6,
})
Expand Down

0 comments on commit 2f3b489

Please sign in to comment.