x++;
continue;
}
- if (_aa.sequenceRef != null)
- {
- // get the sequence position for the column
- column = _aa.sequenceRef.findPosition(column) - 1;
- }
ContactListI contacts = viewport.getContactList(_aa, column);
if (contacts == null)
{
- return;
+ x++;
+ continue;
}
// Bean holding mapping from contact list to pixels
final ContactGeometry cgeom = new ContactGeometry(contacts,
// also need a 'getMaxPosForRange(start,end)' to accurately render
Color col;
boolean rowsel = false;
- if (!colsel && columnSelection != null)
+ if (columnSelection != null)
{
if (_aa.sequenceRef == null)
{
col = getSelectedColorForRange(min, max, contacts, ci.cStart,
ci.cEnd);
+ if (colsel && rowsel)
+ {
+ col = new Color(col.getBlue(), col.getGreen(), col.getRed());
+ }
+ else
+ {
+ col = new Color(col.getBlue(), col.getBlue(), col.getBlue());
+ }
g.setColor(col);
}
else