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:
080fea8
)
JAL-1421 last change tidied up properly
author
gmungoc
<g.m.carstairs@dundee.ac.uk>
Tue, 14 Jul 2020 16:08:01 +0000
(17:08 +0100)
committer
gmungoc
<g.m.carstairs@dundee.ac.uk>
Tue, 14 Jul 2020 16:08:01 +0000
(17:08 +0100)
src/jalview/gui/TreeCanvas.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/TreeCanvas.java
b/src/jalview/gui/TreeCanvas.java
index
baaec82
..
40cf080
100755
(executable)
--- a/
src/jalview/gui/TreeCanvas.java
+++ b/
src/jalview/gui/TreeCanvas.java
@@
-381,7
+381,7
@@
public class TreeCanvas extends JPanel implements MouseListener, Runnable,
{
for (Entry<Object, Rectangle> entry : nameHash.entrySet())
{
- Rectangle rect = (Rectangle) nameHash.get(entry.getValue());
+ Rectangle rect = entry.getValue();
if ((x >= rect.x) && (x <= (rect.x + rect.width)) && (y >= rect.y)
&& (y <= (rect.y + rect.height)))