Open Abhivega opened 9 months ago
Hi @Abhivega, a very reasonable request!
The underlying rendering code is currently a little messy, but to support this feature, a conditional on this.settings
(perhaps, this.settings.resetCamera
) would have to be added to this line:
and an appropriate default added here:
I don't have time to add this myself at present, but pull requests very welcome.
Email (Optional)
No response
Problem
In this example, if we rotate the visualized structure interactively and then swap the current structure for another one, the camera orientation is reset.
Proposed Solution
Is there a way to specify a desired view axis, or to make the camera view persistent when the structure is modified?
Alternatives
No response
Code of Conduct