diff --git a/front/src/assets/main.scss b/front/src/assets/main.scss index f65728e..d0cb26d 100644 --- a/front/src/assets/main.scss +++ b/front/src/assets/main.scss @@ -7,6 +7,7 @@ body { font-family: 'Montserrat'; + user-select: none; } a[href] { diff --git a/front/src/components/Main/index.vue b/front/src/components/Main/index.vue index eadb2fa..fd9cfcb 100644 --- a/front/src/components/Main/index.vue +++ b/front/src/components/Main/index.vue @@ -15,8 +15,9 @@ const controls = ref() const controlsState = reactive({ enableDamping: true, - maxPolarAngle: (Math.PI / 2) - 0.07, - minAzimuthAngle: (Math.PI / 2) - 0.20, + minPolarAngle: 45 * (Math.PI / 180), + maxPolarAngle: 45 * (Math.PI / 180), + // minAzimuthAngle: (Math.PI / 2) / 2, enablePan: false, enableZoom: false, autoRotate: true, @@ -46,6 +47,7 @@ watch(() => pageStore.page.id, async () => {