From: amwaterhouse Date: Fri, 27 Apr 2007 14:43:20 +0000 (+0000) Subject: Must check that featureGroup is visible for mouse over features X-Git-Tag: Release_2_3~129 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=3b3fdaf1198cb455ffd57a249885d2c04c19cce0;p=jalview.git Must check that featureGroup is visible for mouse over features --- 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)) {