Must check that featureGroup is visible for mouse over features
authoramwaterhouse <Andrew Waterhouse>
Fri, 27 Apr 2007 14:43:20 +0000 (14:43 +0000)
committeramwaterhouse <Andrew Waterhouse>
Fri, 27 Apr 2007 14:43:20 +0000 (14:43 +0000)
src/jalview/appletgui/SeqPanel.java

index f9304cf..034106d 100755 (executable)
@@ -778,6 +778,14 @@ public class SeqPanel
           continue;\r
         }\r
 \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
         {\r