From: amwaterhouse Date: Wed, 30 Aug 2006 16:10:07 +0000 (+0000) Subject: GraphHeight might be zero X-Git-Tag: Release_2_1_1~22 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=3eddd392a6b8d30279aba258ca90c52c39af9420;p=jalview.git GraphHeight might be zero --- 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;