From: Jim Procter Date: Mon, 21 Aug 2017 13:21:58 +0000 (+0100) Subject: JAL-2588 field on overview colour finder for default gap colour X-Git-Tag: Release_2_10_3b1~142^2~2^2~9^2~1 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=d735b6b655d0689760abf7e5063c36200310a544;p=jalview.git JAL-2588 field on overview colour finder for default gap colour --- diff --git a/src/jalview/renderer/OverviewResColourFinder.java b/src/jalview/renderer/OverviewResColourFinder.java index 5ed218b..ec638a7 100644 --- a/src/jalview/renderer/OverviewResColourFinder.java +++ b/src/jalview/renderer/OverviewResColourFinder.java @@ -28,6 +28,8 @@ import java.awt.Color; public class OverviewResColourFinder extends ResidueColourFinder { + final Color GAP_COLOUR = new Color(240, 240, 240); + @Override public Color getBoxColour(ResidueShaderI shader, SequenceI seq, int i) { @@ -42,7 +44,7 @@ public class OverviewResColourFinder extends ResidueColourFinder if (Comparison.isGap(currentChar) && !shader.getColourScheme().hasGapColour()) { - resBoxColour = Color.lightGray; + resBoxColour = GAP_COLOUR; } else { @@ -51,7 +53,7 @@ public class OverviewResColourFinder extends ResidueColourFinder } else if (Comparison.isGap(currentChar)) { - resBoxColour = Color.lightGray; + resBoxColour = GAP_COLOUR; } return resBoxColour;