Enable pan (one-liner) (#268)

Enable pan
This commit is contained in:
Pierre Jacquier
2023-06-30 14:17:43 -04:00
committed by GitHub
parent ba3933a1e2
commit 0191a07b01

View File

@ -21,7 +21,7 @@ export function Controls({ target, reference, onAltered }: ControlsProps) {
ref={reference}
target={target}
args={[camera, gl.domElement]}
enablePan={false}
enablePan={true}
/>
)
}