Check feature group is visible for mouse over features
authoramwaterhouse <Andrew Waterhouse>
Fri, 27 Apr 2007 14:45:31 +0000 (14:45 +0000)
committeramwaterhouse <Andrew Waterhouse>
Fri, 27 Apr 2007 14:45:31 +0000 (14:45 +0000)
src/jalview/gui/SeqPanel.java

index 6dc5d66..6621c41 100755 (executable)
@@ -204,6 +204,11 @@ public class SeqPanel
           continue;\r
         }\r
 \r
+        if (features[i].featureGroup != null\r
+            && seqCanvas.fr.featureGroups!=null\r
+            && !((Boolean)seqCanvas.fr.featureGroups.get(features[i].featureGroup)).booleanValue())\r
+          continue;\r
+\r
 \r
         if ( (features[i].getBegin() <= res) &&\r
             (features[i].getEnd() >= res))\r