Merge branch 'bug/JAL-2609attemptedmerge' into develop
authorJim Procter <jprocter@issues.jalview.org>
Mon, 23 Oct 2017 16:17:09 +0000 (17:17 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Mon, 23 Oct 2017 16:17:09 +0000 (17:17 +0100)
1  2 
src/jalview/gui/AlignmentPanel.java

@@@ -97,9 -97,6 +97,6 @@@ public class AlignmentPanel extends GAl
  
    private AnnotationLabels alabels;
  
-   // this value is set false when selection area being dragged
-   boolean fastPaint = true;
    private int hextent = 0;
  
    private int vextent = 0;
        }
        else
        {
 -        int widthInRes = (canvasWidth / av.getCharWidth()) - 1;
 +        int widthInRes = (canvasWidth / av.getCharWidth());
          int heightInSeq = (getSeqPanel().seqCanvas.getHeight()
 -                / av.getCharHeight()) - 1;
 +                / av.getCharHeight());
  
          vpRanges.setViewportWidth(widthInRes);
          vpRanges.setViewportHeight(heightInSeq);
        }
        vpRanges.setViewportStartAndHeight(y, height);
      }
-     if (!fastPaint)
-     {
-       repaint();
-     }
+     repaint();
    }
  
    /**