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:
3ec49f0
)
JAL-4134 tree panel shouldn’t try to redraw before tree is calculated..
author
James Procter
<j.procter@dundee.ac.uk>
Mon, 27 Feb 2023 18:44:12 +0000
(18:44 +0000)
committer
James Procter
<j.procter@dundee.ac.uk>
Mon, 27 Feb 2023 18:44:32 +0000
(18:44 +0000)
src/jalview/gui/TreeCanvas.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/TreeCanvas.java
b/src/jalview/gui/TreeCanvas.java
index
7bdb673
..
354feac
100755
(executable)
--- a/
src/jalview/gui/TreeCanvas.java
+++ b/
src/jalview/gui/TreeCanvas.java
@@
-719,6
+719,7
@@
public class TreeCanvas extends JPanel implements MouseListener, Runnable,
if (longestName == null || tree == null)
{
g2.drawString("Calculating tree.", 20, 20);
+ return;
}
offy = font.getSize() + 10;