X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fjavascript%2FMouseOverStructureListener.java;fp=src%2Fjalview%2Fjavascript%2FMouseOverStructureListener.java;h=758022284717ac1c5a6bc0820920de1108a960d1;hb=2595e9d4ee0dbbd3406a98c4e49a61ccde806479;hp=4f833bc83c5a46ef9b238bade084c377b7c11639;hpb=e20075ba805d744d7cc4976e2b8d5e5840fb0a8d;p=jalview.git diff --git a/src/jalview/javascript/MouseOverStructureListener.java b/src/jalview/javascript/MouseOverStructureListener.java index 4f833bc..7580222 100644 --- a/src/jalview/javascript/MouseOverStructureListener.java +++ b/src/jalview/javascript/MouseOverStructureListener.java @@ -221,8 +221,8 @@ public class MouseOverStructureListener extends JSFunctionExec implements ArrayList ccomands = new ArrayList(); ArrayList pdbfn = new ArrayList(); StructureMappingcommandSet[] colcommands = JmolCommands - .getColourBySequenceCommand(ssm, modelSet, sequence, sr, fr, - ((AlignmentViewPanel) source).getAlignment()); + .getColourBySequenceCommand(ssm, modelSet, sequence, sr, + (AlignmentViewPanel) source); if (colcommands == null) { return; @@ -298,6 +298,7 @@ public class MouseOverStructureListener extends JSFunctionExec implements return _listenerfn; } + @Override public void finalize() throws Throwable { jvlite = null;