int endSeq)
{
// convert the cursorY into a position on the visible alignment
- int cursor_ypos = av.getAlignment().getHiddenSequences()
- .findIndexWithoutHiddenSeqs(cursorY);
+ int cursor_ypos = cursorY;
// don't do work unless we have to
- if (!av.getAlignment().getHiddenSequences().isHidden(cursorY)
- && cursor_ypos >= startSeq && cursor_ypos <= endSeq)
+ if (cursor_ypos >= startSeq && cursor_ypos <= endSeq)
{
int yoffset = 0;
int xoffset = 0;
}
}
- if (!av.getAlignment().getHiddenSequences().isHidden(seqCanvas.cursorY)
- && av.getAlignment().getHiddenColumns()
- .isVisible(seqCanvas.cursorX))
+ if (av.getAlignment().getHiddenColumns().isVisible(seqCanvas.cursorX))
{
setStatusMessage(av.getAlignment().getSequenceAt(seqCanvas.cursorY),
seqCanvas.cursorX, seqCanvas.cursorY);