JAL-961 - annotatable datamodel objects can be queried to obtain annotation with...
[jalview.git] / src / jalview / renderer / AnnotationRenderer.java
index c6b95e4..ace94f4 100644 (file)
@@ -871,7 +871,7 @@ public class AnnotationRenderer
         }
       }
       // draw profile if available
-      if (renderProfile && aa.annotations[column].value != 0)
+      if (renderProfile)
       {
 
         int profl[] = getProfileFor(aa, column);
@@ -928,7 +928,7 @@ public class AnnotationRenderer
               // g.drawRect(x*av.charWidth, (int)ht, av.charWidth,
               // (int)(scl));
               // g.setColor(profcolour.findColour(dc[0]).darker());
-              g.setColor(profcolour.findColour(dc[0], column));
+              g.setColor(profcolour.findColour(dc[0], column,null));
 
               hght = (ht + (scl - lm.getDescent() - lm.getBaselineOffsets()[lm
                       .getBaselineIndex()]));