From 3eddd392a6b8d30279aba258ca90c52c39af9420 Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Wed, 30 Aug 2006 16:10:07 +0000 Subject: [PATCH] GraphHeight might be zero --- src/jalview/gui/AnnotationLabels.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jalview/gui/AnnotationLabels.java b/src/jalview/gui/AnnotationLabels.java index 87bb774..c537550 100755 --- a/src/jalview/gui/AnnotationLabels.java +++ b/src/jalview/gui/AnnotationLabels.java @@ -447,7 +447,7 @@ public class AnnotationLabels extends JPanel implements MouseListener, x = width - fm.stringWidth(aa[i].label) - 3; - if (aa[i].graph>0) + if (aa[i].graph>0 && aa[i].graphHeight>0) { graphExtras = y; -- 1.7.10.2