From 5845a520777eaa917f0413144ac5aa943e9e1e1c Mon Sep 17 00:00:00 2001 From: James Procter Date: Mon, 28 Aug 2023 12:10:37 +0100 Subject: [PATCH] JAL-4253 drop the bottom line so it lines up with the vertical of group border. --- src/jalview/gui/SeqCanvas.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/jalview/gui/SeqCanvas.java b/src/jalview/gui/SeqCanvas.java index d15cdcf..62e48d2 100755 --- a/src/jalview/gui/SeqCanvas.java +++ b/src/jalview/gui/SeqCanvas.java @@ -1375,8 +1375,8 @@ public class SeqCanvas extends JPanel implements ViewportListenerI } else if (inGroup) { - drawVerticals(g, sx, xwidth, visWidth, oldY, sy); - drawHorizontals(g, sx, xwidth, visWidth, top, bottom); + drawVerticals(g, sx, xwidth, visWidth, oldY, bottom); + drawHorizontals(g, sx, xwidth, visWidth, top, bottom+1); // reset top and bottom top = -1; @@ -1387,8 +1387,8 @@ public class SeqCanvas extends JPanel implements ViewportListenerI if (inGroup) { sy = verticalOffset + ((i - startSeq) * charHeight); - drawVerticals(g, sx, xwidth, visWidth, oldY, sy); - drawHorizontals(g, sx, xwidth, visWidth, top, bottom); + drawVerticals(g, sx, xwidth, visWidth, oldY, bottom); + drawHorizontals(g, sx, xwidth, visWidth, top, bottom+1); } } } -- 1.7.10.2