From 731df7528c6f2d1133b38cf043ec4544bfacd274 Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Tue, 16 May 2006 11:09:02 +0000 Subject: [PATCH] Remove unwanted line --- src/jalview/gui/AnnotationPanel.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/jalview/gui/AnnotationPanel.java b/src/jalview/gui/AnnotationPanel.java index 06b7602..ecd9370 100755 --- a/src/jalview/gui/AnnotationPanel.java +++ b/src/jalview/gui/AnnotationPanel.java @@ -1050,11 +1050,10 @@ public class AnnotationPanel extends JPanel implements MouseListener, g.setColor(aa.annotations[column].colour); y1 = y - (int) (((aa.annotations[column-1].value-min) / range) * graphHeight); y2 = y - (int) (((aa.annotations[column].value-min) / range) * graphHeight); + g.drawLine(x-av.charWidth/2, y1, x+av.charWidth/2, y2); x += av.charWidth; - if(aa.annotations[column].value==0) - column++; } -- 1.7.10.2