git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0c310e
)
fix for JAL-689 ensure fastpainting flag set only when actually fastpainting
author
Jim Procter
<jprocter@dundee.ac.uk>
Tue, 25 Nov 2014 21:43:42 +0000
(21:43 +0000)
committer
Jim Procter
<jprocter@dundee.ac.uk>
Tue, 25 Nov 2014 21:43:42 +0000
(21:43 +0000)
src/jalview/gui/SeqCanvas.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/SeqCanvas.java
b/src/jalview/gui/SeqCanvas.java
index
8b7f93a
..
d73ee70
100755
(executable)
--- a/
src/jalview/gui/SeqCanvas.java
+++ b/
src/jalview/gui/SeqCanvas.java
@@
-258,16
+258,11
@@
public class SeqCanvas extends JComponent
*/
public void fastPaint(int horizontal, int vertical)
{
- if (fastpainting)
+ if (fastpainting || gg == null)
{
return;
}
fastpainting = true;
- if (gg == null)
- {
- return;
- }
-
fastPaint = true;
gg.copyArea(horizontal * av.charWidth, vertical * av.charHeight,