From b7ff4a5c3445124a594a8239327624deeb981a6b Mon Sep 17 00:00:00 2001 From: James Procter Date: Thu, 2 Nov 2023 12:43:12 +0000 Subject: [PATCH] JAL-4289 JAL-4253 lower end of group boundary vertical needs to be flush with horizontal --- src/jalview/gui/SeqCanvas.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/jalview/gui/SeqCanvas.java b/src/jalview/gui/SeqCanvas.java index a9bfbf6..e42acf3 100755 --- a/src/jalview/gui/SeqCanvas.java +++ b/src/jalview/gui/SeqCanvas.java @@ -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); } } -- 1.7.10.2