JAL-2348 adjustable height for any non-label render type.
authorJim Procter <jprocter@issues.jalview.org>
Sun, 4 Dec 2016 12:20:44 +0000 (12:20 +0000)
committerJim Procter <jprocter@issues.jalview.org>
Sun, 4 Dec 2016 12:21:03 +0000 (12:21 +0000)
src/jalview/appletgui/AnnotationPanel.java
src/jalview/gui/AnnotationPanel.java

index 6012c1a..0f8baaf 100755 (executable)
@@ -336,7 +336,7 @@ public class AnnotationPanel extends Panel implements AwtRenderPanelI,
         {
           activeRow = i;
         }
-        else if (aa[i].graph > 0)
+        else if (aa[i].graph != AlignmentAnnotation.NO_GRAPH)
         {
           // Stretch Graph
           graphStretch = i;
index b1f0edb..ebfc52e 100755 (executable)
@@ -521,7 +521,7 @@ public class AnnotationPanel extends JPanel implements AwtRenderPanelI,
         {
           activeRow = i;
         }
-        else if (aa[i].graph > 0)
+        else if (aa[i].graph != 0)
         {
           // Stretch Graph
           graphStretch = i;