JAL-4289 JAL-4253 lower end of group boundary vertical needs to be flush with horizontal
authorJames Procter <j.procter@dundee.ac.uk>
Thu, 2 Nov 2023 12:43:12 +0000 (12:43 +0000)
committerJames Procter <j.procter@dundee.ac.uk>
Thu, 2 Nov 2023 12:45:30 +0000 (12:45 +0000)
src/jalview/gui/SeqCanvas.java

index a9bfbf6..e42acf3 100755 (executable)
@@ -1495,14 +1495,14 @@ public class SeqCanvas extends JPanel implements ViewportListenerI
     // group
     if (sx >= 0 && sx < visWidth)
     {
-      g.drawLine(sx, oldY, sx, sy);
+      g.drawLine(sx, oldY, sx, sy-1);
     }
 
     // if end position is visible, draw vertical line to right of
     // group
     if (sx + xwidth < visWidth)
     {
-      g.drawLine(sx + xwidth, oldY, sx + xwidth, sy);
+      g.drawLine(sx + xwidth, oldY, sx + xwidth, sy-1);
     }
   }