From: James Procter Date: Thu, 2 Nov 2023 12:43:12 +0000 (+0000) Subject: JAL-4289 JAL-4253 lower end of group boundary vertical needs to be flush with horizontal X-Git-Tag: Release_2_11_4_0~115 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=b7ff4a5c3445124a594a8239327624deeb981a6b;p=jalview.git JAL-4289 JAL-4253 lower end of group boundary vertical needs to be flush with horizontal --- 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); } }