JAL-2588 Consistent gap colour when in None colour scheme
authorkiramt <k.mourao@dundee.ac.uk>
Thu, 8 Jun 2017 17:12:41 +0000 (18:12 +0100)
committerkiramt <k.mourao@dundee.ac.uk>
Thu, 8 Jun 2017 17:12:41 +0000 (18:12 +0100)
src/jalview/gui/SequenceRenderer.java
src/jalview/renderer/OverviewRenderer.java

index a89d7ce..51b1a3a 100755 (executable)
@@ -150,7 +150,7 @@ public class SequenceRenderer implements jalview.api.SequenceRenderer
               i, seq);
       }
     }
-    else if (forOverview && !Comparison.isGap(seq.getCharAt(i)))
+    else if (forOverview && Comparison.isGap(seq.getCharAt(i)))
     {
       resBoxColour = Color.lightGray;
     }
index 9291ca6..21f6568 100644 (file)
@@ -50,10 +50,9 @@ public class OverviewRenderer
 
   public OverviewRenderer(jalview.api.SequenceRenderer seqRenderer,
           FeatureRenderer fr, OverviewDimensions od)
-  // FeatureColourFinder colfinder, OverviewDimensions od)
   {
     sr = seqRenderer;
-    finder = new FeatureColourFinder(fr); // colfinder;
+    finder = new FeatureColourFinder(fr);
 
     pixelsPerCol = od.getPixelsPerCol();
     pixelsPerSeq = od.getPixelsPerSeq();