From 4bae495df9a00ece3d4f7672639c3a669446d461 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Sun, 30 Oct 2022 23:21:38 +0000 Subject: [PATCH] JAL-4091 lines to associate rows sharing same sequence ref - needs some work still ! (And would be great to have more interactivity!) --- src/jalview/gui/AnnotationLabels.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/jalview/gui/AnnotationLabels.java b/src/jalview/gui/AnnotationLabels.java index 1e2374a..2c563f1 100755 --- a/src/jalview/gui/AnnotationLabels.java +++ b/src/jalview/gui/AnnotationLabels.java @@ -1223,7 +1223,9 @@ public class AnnotationLabels extends JPanel { if (vertBar) { - g.drawLine(x - 40, y, x - 40, y - aa[i].height); + g.drawLine(20, y + offset, 20, y - aa[i].height); + g.drawLine(20, y + offset, x - 20, y + offset); + } g.drawString(label, x, y + offset); } -- 1.7.10.2