public void setStartSeq(int seq)
{
int height = getViewportHeight();
- int startseq = Math.max(seq, getVisibleAlignmentHeight() - height);
+ int startseq = Math.min(seq, getVisibleAlignmentHeight() - height);
// BH 2019.07.27 cosmetic only -- was:
// if (startseq + height - 1 > getVisibleAlignmentHeight() - 1)
// {