JAL-3676 More explicit tooltip about resetting log level on Console close. Also clari...
[jalview.git] / src / jalview / appletgui / AlignmentPanel.java
index 91ae27b..0ed54e7 100644 (file)
@@ -345,7 +345,7 @@ public class AlignmentPanel extends Panel
           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);
@@ -416,7 +416,7 @@ public class AlignmentPanel extends Panel
   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())
@@ -737,7 +737,6 @@ public class AlignmentPanel extends Panel
   @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.