JAL-2593 render 'duplicate' features if transparency is applied
[jalview.git] / src / jalview / schemes / CovariationColourScheme.java
index 3637ce3..923bd85 100644 (file)
@@ -77,10 +77,11 @@ public class CovariationColourScheme extends ResidueColourScheme
       positionsToHelix.put(this.annotation._rnasecstr[x].getEnd(),
               this.annotation._rnasecstr[x].getFeatureGroup());
 
-      if (Integer.parseInt(this.annotation._rnasecstr[x].getFeatureGroup()) > numHelix)
+      if (Integer.parseInt(
+              this.annotation._rnasecstr[x].getFeatureGroup()) > numHelix)
       {
-        numHelix = Integer.parseInt(this.annotation._rnasecstr[x]
-                .getFeatureGroup());
+        numHelix = Integer
+                .parseInt(this.annotation._rnasecstr[x].getFeatureGroup());
       }
 
     }
@@ -149,4 +150,10 @@ public class CovariationColourScheme extends ResidueColourScheme
   {
     return "Covariation";
   }
+
+  @Override
+  public boolean isSimple()
+  {
+    return false;
+  }
 }