From 204eb7542bf26556eec2094e32a900e624eeebc8 Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Fri, 27 Apr 2007 14:45:31 +0000 Subject: [PATCH] Check feature group is visible for mouse over features --- src/jalview/gui/SeqPanel.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/jalview/gui/SeqPanel.java b/src/jalview/gui/SeqPanel.java index 6dc5d66..6621c41 100755 --- a/src/jalview/gui/SeqPanel.java +++ b/src/jalview/gui/SeqPanel.java @@ -204,6 +204,11 @@ 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