git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JAL-1161 enable fastPaint for nudges from scroll bars or trackpad
[jalview.git]
/
src
/
jalview
/
gui
/
AlignmentPanel.java
diff --git
a/src/jalview/gui/AlignmentPanel.java
b/src/jalview/gui/AlignmentPanel.java
index
f8a2543
..
b4647ae
100644
(file)
--- a/
src/jalview/gui/AlignmentPanel.java
+++ b/
src/jalview/gui/AlignmentPanel.java
@@
-485,7
+485,7
@@
public class AlignmentPanel extends GAlignmentPanel implements
return false;
}
return false;
}
- fastPaint = false;
+ //fastPaint = false;
vscroll.setValue(vscroll.getValue() - 1);
}
else
vscroll.setValue(vscroll.getValue() - 1);
}
else
@@
-495,11
+495,11
@@
public class AlignmentPanel extends GAlignmentPanel implements
return false;
}
return false;
}
- fastPaint = false;
+ //fastPaint = false;
vscroll.setValue(vscroll.getValue() + 1);
}
vscroll.setValue(vscroll.getValue() + 1);
}
- fastPaint = true;
+ //fastPaint = true;
return true;
}
return true;
}
@@
-521,7
+521,7
@@
public class AlignmentPanel extends GAlignmentPanel implements
return false;
}
return false;
}
- fastPaint = false;
+ //fastPaint = false;
hscroll.setValue(hscroll.getValue() - 1);
}
else
hscroll.setValue(hscroll.getValue() - 1);
}
else
@@
-531,11
+531,11
@@
public class AlignmentPanel extends GAlignmentPanel implements
return false;
}
return false;
}
- fastPaint = false;
+ //fastPaint = false;
hscroll.setValue(hscroll.getValue() + 1);
}
hscroll.setValue(hscroll.getValue() + 1);
}
- fastPaint = true;
+ //fastPaint = true;
return true;
}
return true;
}