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:
28a49b4
)
IdCanvas holdRepaint()
author
BobHanson
<hansonr@stolaf.edu>
Mon, 8 Jun 2020 21:59:22 +0000
(16:59 -0500)
committer
BobHanson
<hansonr@stolaf.edu>
Mon, 8 Jun 2020 21:59:22 +0000
(16:59 -0500)
src/jalview/gui/IdCanvas.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/IdCanvas.java
b/src/jalview/gui/IdCanvas.java
index
0731bf3
..
f367c83
100755
(executable)
--- a/
src/jalview/gui/IdCanvas.java
+++ b/
src/jalview/gui/IdCanvas.java
@@
-221,6
+221,12
@@
public class IdCanvas extends JPanel implements ViewportListenerI
@Override
public void paintComponent(Graphics g)
{
+
+ if (av.getAlignPanel().getHoldRepaint())
+ {
+ return;
+ }
+
g.setColor(Color.white);
g.fillRect(0, 0, getWidth(), getHeight());