From: Jim Procter Date: Mon, 23 Oct 2017 16:15:51 +0000 (+0100) Subject: JAL-2609 remove unused AlignPanel.fastPaint flag and broken conditional preventing... X-Git-Tag: Release_2_10_3b1~90^2 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=fee8c0ba299ae67650716b8ebb85bd0fc51fb15a;p=jalview.git JAL-2609 remove unused AlignPanel.fastPaint flag and broken conditional preventing repaints on vertical scroll --- diff --git a/src/jalview/gui/AlignmentPanel.java b/src/jalview/gui/AlignmentPanel.java index ff2ffbb..e7e1202 100644 --- a/src/jalview/gui/AlignmentPanel.java +++ b/src/jalview/gui/AlignmentPanel.java @@ -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(); } /**