Closed jun-sironamedical closed 2 years ago
Not sure why we need to call cameraReset every positional update but I tried to keep everything the same. Have concern on moving the order of operation to resetCamera and then setCamera, but if my logic is correct, the only difference should be focalPoint is retained.
:tada: This PR is included in version 1.13.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Issue: focalPoint is reset due to resetCamera call for each position update. I added focalPoint as prop, and setting it after resetCamera, to retain focalpoint.
line 465
if (previous) { this.resetCamera(); }