From 267a1969d44cab3f6b7ba0b55bc14fbe0c0e89da Mon Sep 17 00:00:00 2001 From: gmungoc Date: Tue, 14 Jul 2020 17:08:01 +0100 Subject: [PATCH] JAL-1421 last change tidied up properly --- src/jalview/gui/TreeCanvas.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jalview/gui/TreeCanvas.java b/src/jalview/gui/TreeCanvas.java index baaec82..40cf080 100755 --- 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 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))) -- 1.7.10.2