docs: disable gem dragging (#2049)

fixes issue #1852 of nuxtjs.org repository

Co-authored-by: davidblnc <test@test.com>
This commit is contained in:
davidblnc 2021-11-22 21:32:01 +01:00 committed by GitHub
parent a149225e63
commit cc342eb6c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -79,6 +79,7 @@ export default {
controls.enableZoom = false
controls.target.set(0, 0.75, 0)
controls.enableDamping = true
controls.enablePan = false
// Lock Y Axis
controls.minPolarAngle = Math.PI / 2
controls.maxPolarAngle = Math.PI / 2