assertEquals(od.getBoxHeight(), boxHeight);
// move viewport to bottom right
- moveViewport(98, 508);
+ moveViewport(98, 507);
assertEquals(od.getBoxX(),
Math.round((float) 98 * od.getWidth() / alwidth));
assertEquals(od.getBoxY(),
- Math.round((float) 508 * od.getSequencesHeight() / alheight));
+ Math.round((float) 507 * od.getSequencesHeight() / alheight));
assertEquals(od.getBoxWidth(), boxWidth);
assertEquals(od.getBoxHeight(), boxHeight);
}
// normally
vpranges.setStartRes(od.getScrollCol());
- vpranges.setEndRes(od.getScrollCol() + viewWidth - 1);
vpranges.setStartSeq(od.getScrollRow());
- vpranges.setEndSeq(od.getScrollRow() + viewHeight - 1);
od.setBoxPosition(al.getHiddenSequences(), hiddenCols, vpranges);
}