JAL-2609 remove unused AlignPanel.fastPaint flag and broken conditional preventing...
authorJim Procter <jprocter@issues.jalview.org>
Mon, 23 Oct 2017 16:15:51 +0000 (17:15 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Mon, 23 Oct 2017 16:15:51 +0000 (17:15 +0100)
src/jalview/gui/AlignmentPanel.java

index ff2ffbb..e7e1202 100644 (file)
@@ -97,9 +97,6 @@ public class AlignmentPanel extends GAlignmentPanel implements
 
   private AnnotationLabels alabels;
 
-  // this value is set false when selection area being dragged
-  boolean fastPaint = true;
-
   private int hextent = 0;
 
   private int vextent = 0;
@@ -771,10 +768,7 @@ public class AlignmentPanel extends GAlignmentPanel implements
       }
       vpRanges.setViewportStartAndHeight(y, height);
     }
-    if (!fastPaint)
-    {
-      repaint();
-    }
+    repaint();
   }
 
   /**