public class OverviewRenderer
{
// transparency of hidden cols/seqs overlay
- private final float TRANSPARENCY = 0.5f;
+ private static final float TRANSPARENCY = 0.5f;
public static final String UPDATE = "OverviewUpdate";
private Timer timer;
- private boolean isJS = Platform.isJS();
-
- private int delay = (isJS ? 1 : 0);
+ private int delay = (Platform.isJS() ? 1 : 0);
private int seqIndex;
sendProgressUpdate(1, 1, 0, 0);
}
}
+
panel.overviewDone(miniMe);
}
int icol)
{
return (seq == null || icol >= seq.getLength()
- ? resColFinder.GAP_COLOUR
- : resColFinder.getResidueColourInt(true, shader, allGroups, seq,
- icol, finder));
+ ? resColFinder.gapColourInt
+ : resColFinder.getResidueColourInt(true, shader, allGroups, seq,
+ icol, finder));
}
/**