package jalview.appletgui;
import jalview.datamodel.AlignmentI;
+import jalview.renderer.seqfeatures.FeatureColourFinder;
import java.awt.Color;
import java.awt.Dimension;
.hasHiddenColumns();
boolean hiddenRow = false;
AlignmentI alignment = av.getAlignment();
+
+ FeatureColourFinder finder = new FeatureColourFinder(fr);
for (row = 0; row <= sequencesHeight; row++)
{
+ if (resizeAgain)
+ {
+ break;
+ }
if ((int) (row * sampleRow) == lastrow)
{
sameRow++;
if (seq.getLength() > lastcol)
{
- color = sr.getResidueBoxColour(seq, lastcol);
-
- if (av.isShowSequenceFeatures())
- {
- color = fr.findFeatureColour(color, seq, lastcol);
- }
+ color = sr.getResidueColour(seq, lastcol, finder);
}
else
{
- color = Color.white; // White
+ color = Color.white;
}
if (hiddenRow
{
for (col = 0; col < width; col++)
{
+ if (resizeAgain)
+ {
+ break;
+ }
lastcol = (int) (col * sampleCol);
{
mg.translate(col, sequencesHeight);