From d735b6b655d0689760abf7e5063c36200310a544 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Mon, 21 Aug 2017 14:21:58 +0100 Subject: [PATCH] JAL-2588 field on overview colour finder for default gap colour --- src/jalview/renderer/OverviewResColourFinder.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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; -- 1.7.10.2