int profl[] = getProfileFor(aa, column);
// just try to draw the logo if profl is not null
- if (profl != null)
+ if (profl != null && profl[1] != 0)
{
float ht = normaliseProfile ? y - aa.graphHeight : y1;
double htn = normaliseProfile ? aa.graphHeight : (y2 - y1);// aa.graphHeight;
// g.drawRect(x*av.charWidth, (int)ht, av.charWidth,
// (int)(scl));
// g.setColor(profcolour.findColour(dc[0]).darker());
- g.setColor(profcolour.findColour(dc[0]));
+ g.setColor(profcolour.findColour(dc[0], column));
hght = (ht + (scl - lm.getDescent() - lm.getBaselineOffsets()[lm
.getBaselineIndex()]));