From: Jim Procter Date: Fri, 24 May 2013 13:14:45 +0000 (+0100) Subject: JAL-1291 reinstate fastPaint flag manipulation to make trackPad scrolling smooth X-Git-Tag: Jalview_2_9~249^2~1 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=8f120c214a9d7e0c0ab5fc8bdfec157e36944839;p=jalview.git JAL-1291 reinstate fastPaint flag manipulation to make trackPad scrolling smooth --- diff --git a/src/jalview/gui/AlignmentPanel.java b/src/jalview/gui/AlignmentPanel.java index c392b1c..5f20808 100644 --- a/src/jalview/gui/AlignmentPanel.java +++ b/src/jalview/gui/AlignmentPanel.java @@ -485,7 +485,7 @@ public class AlignmentPanel extends GAlignmentPanel implements return false; } - //fastPaint = false; + fastPaint = false; vscroll.setValue(vscroll.getValue() - 1); } else @@ -495,11 +495,11 @@ public class AlignmentPanel extends GAlignmentPanel implements return false; } - //fastPaint = false; + fastPaint = false; vscroll.setValue(vscroll.getValue() + 1); } - //fastPaint = true; + fastPaint = true; return true; } @@ -521,7 +521,7 @@ public class AlignmentPanel extends GAlignmentPanel implements return false; } - //fastPaint = false; + fastPaint = false; hscroll.setValue(hscroll.getValue() - 1); } else @@ -531,11 +531,11 @@ public class AlignmentPanel extends GAlignmentPanel implements return false; } - //fastPaint = false; + fastPaint = false; hscroll.setValue(hscroll.getValue() + 1); } - //fastPaint = true; + fastPaint = true; return true; }