Final tweaks for deploy

virtual screen size does matter,and curv is a little more memory hungry
than the other functions
This commit is contained in:
Kurt Hutten
2021-11-30 15:15:54 +11:00
parent 9797405834
commit 172e19165f
7 changed files with 15 additions and 99 deletions

View File

@@ -230,7 +230,7 @@ export function PureIdeViewer({
<Controls
onDragStart={() => setIsDragging(true)}
onInit={onInit}
onCameraChange={() => {onCameraChange(); setIsDragging(false)}}
onCameraChange={(...args) => {onCameraChange(...args); setIsDragging(false)}}
controlsRef={controlsRef}
camera={camera}
/>