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:
9374444
)
JAL-2721 no fastPaint if img has been nulled by fontChanged!
author
gmungoc
<g.m.carstairs@dundee.ac.uk>
Wed, 6 Sep 2017 15:03:47 +0000
(16:03 +0100)
committer
Jim Procter
<jprocter@issues.jalview.org>
Wed, 6 Sep 2017 16:48:46 +0000
(17:48 +0100)
src/jalview/gui/SeqCanvas.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/SeqCanvas.java
b/src/jalview/gui/SeqCanvas.java
index
d434ba8
..
c0dd1b0
100755
(executable)
--- a/
src/jalview/gui/SeqCanvas.java
+++ b/
src/jalview/gui/SeqCanvas.java
@@
-281,7
+281,7
@@
public class SeqCanvas extends JComponent implements ViewportListenerI
*/
public void fastPaint(int horizontal, int vertical)
{
- if (fastpainting || gg == null)
+ if (fastpainting || gg == null || img == null)
{
return;
}