From 8f120c214a9d7e0c0ab5fc8bdfec157e36944839 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Fri, 24 May 2013 14:14:45 +0100 Subject: [PATCH] JAL-1291 reinstate fastPaint flag manipulation to make trackPad scrolling smooth --- src/jalview/gui/AlignmentPanel.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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; } -- 1.7.10.2