JAL-2929 use configure Overview gap colour instead of white past end of sequence
authorgmungoc <g.m.carstairs@dundee.ac.uk>
Wed, 21 Mar 2018 17:05:58 +0000 (17:05 +0000)
committergmungoc <g.m.carstairs@dundee.ac.uk>
Wed, 21 Mar 2018 17:05:58 +0000 (17:05 +0000)
src/jalview/renderer/OverviewRenderer.java

index 1c50aab..f36461a 100644 (file)
@@ -230,13 +230,12 @@ public class OverviewRenderer
           jalview.datamodel.SequenceI seq,
           int lastcol, FeatureColourFinder fcfinder)
   {
-    Color color = Color.white;
+    Color color = resColFinder.GAP_COLOUR;
 
     if ((seq != null) && (seq.getLength() > lastcol))
     {
       color = resColFinder.getResidueColour(true, shader, allGroups, seq,
-              lastcol,
-              fcfinder);
+              lastcol, fcfinder);
     }
 
     return color.getRGB();