int verticalOffset, boolean redrawOverview, boolean centre)
{
// do we need to scroll the panel?
- if (results != null && results.getSize() > 0)
+ if (results != null && results.getCount() > 0)
{
AlignmentI alignment = av.getAlignment();
int seqIndex = alignment.findIndex(results);
public boolean scrollTo(int ostart, int end, int seqIndex,
boolean scrollToNearest, boolean redrawOverview)
{
- int startv, endv, starts, ends;// , width;
+ int startv, endv, starts, ends;//, width;
int start = -1;
if (av.hasHiddenColumns())
@Override
public void adjustmentValueChanged(AdjustmentEvent evt)
{
- seqPanel.seqCanvas.clearFastPaint();
// Note that this event is NOT fired by the AWT scrollbar when setValues is
// called. Instead manually call adjustHorizontal and adjustVertical
// directly.