JAL-4313 Change default trim end to (length - 1)
authorMateusz Warowny <mmzwarowny@dundee.ac.uk>
Mon, 30 Oct 2023 14:33:33 +0000 (15:33 +0100)
committerMateusz Warowny <mmzwarowny@dundee.ac.uk>
Mon, 30 Oct 2023 14:35:18 +0000 (15:35 +0100)
src/jalview/datamodel/AlignmentAnnotation.java

index 4ebb27f..0e0239a 100755 (executable)
@@ -1581,7 +1581,7 @@ public class AlignmentAnnotation
   {
     if (annotations != null)
     {
-      makeVisibleAnnotation(0, annotations.length, hiddenColumns);
+      makeVisibleAnnotation(0, annotations.length - 1, hiddenColumns);
     }
   }