From 3b3fdaf1198cb455ffd57a249885d2c04c19cce0 Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Fri, 27 Apr 2007 14:43:20 +0000 Subject: [PATCH] Must check that featureGroup is visible for mouse over features --- src/jalview/appletgui/SeqPanel.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/jalview/appletgui/SeqPanel.java b/src/jalview/appletgui/SeqPanel.java index f9304cf..034106d 100755 --- a/src/jalview/appletgui/SeqPanel.java +++ b/src/jalview/appletgui/SeqPanel.java @@ -778,6 +778,14 @@ public class SeqPanel continue; } + + + if (features[i].featureGroup != null + && seqCanvas.fr.featureGroups!=null + && !((Boolean)seqCanvas.fr.featureGroups.get(features[i].featureGroup)).booleanValue()) + continue; + + if ( (features[i].getBegin() <= res) && (features[i].getEnd() >= res)) { -- 1.7.10.2