Skip to content

Commit

Permalink
added persistence of camera perspective and world rotation of 3D deta…
Browse files Browse the repository at this point in the history
…il views
  • Loading branch information
thsa committed Nov 7, 2024
1 parent 8ec4cf6 commit aa5ae0e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@

public class RotatableGroup extends Group implements ChangeListener<Number>, IV3DMoleculeGroup {
private Transform mRotation;
private ArrayList<TransformationListener> mTransformationListenerList;
private String mName;
private final ArrayList<TransformationListener> mTransformationListenerList;
private final String mName;

public RotatableGroup(String name) {
mRotation = new Rotate();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,6 @@ public V3DMouseHandler(final V3DScene scene) {
scene.setOnMouseMoved(me -> {
trackHighlightedMol(me);
trackAffectedMol(isSingleMolecule(me));

} );
scene.setOnMouseDragged(me -> {
double oldMouseX = mMouseX;
Expand Down

0 comments on commit aa5ae0e

Please sign in to comment.