From: amwaterhouse Date: Fri, 27 Apr 2007 14:45:31 +0000 (+0000) Subject: Check feature group is visible for mouse over features X-Git-Tag: Release_2_3~124 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=204eb7542bf26556eec2094e32a900e624eeebc8;p=jalview.git Check feature group is visible for mouse over features --- 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))