This commit is contained in:
Kurt Hutten IrevDev
2022-12-23 07:47:22 +11:00
parent 544f20852c
commit 1c1ceae4d3
4 changed files with 51 additions and 40 deletions

View File

@ -155,7 +155,12 @@ function App() {
<OrbitControls
enableDamping={false}
enablePan
enableRotate={!(guiMode.mode === 'canEditSketch' || guiMode.mode === 'sketch')}
enableRotate={
!(
guiMode.mode === 'canEditSketch' ||
guiMode.mode === 'sketch'
)
}
enableZoom
reverseOrbit={false}
/>