From 46a744235cfb0a74ece57af339c319129abbddab Mon Sep 17 00:00:00 2001 From: hansonr Date: Thu, 10 Oct 2019 15:39:23 +0200 Subject: [PATCH] JAL-3444 translucent overview - oops, that broke Java! --- src/jalview/renderer/seqfeatures/FeatureColourFinder.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/jalview/renderer/seqfeatures/FeatureColourFinder.java b/src/jalview/renderer/seqfeatures/FeatureColourFinder.java index 836bc4a..531a187 100644 --- a/src/jalview/renderer/seqfeatures/FeatureColourFinder.java +++ b/src/jalview/renderer/seqfeatures/FeatureColourFinder.java @@ -85,6 +85,7 @@ public class FeatureColourFinder public Color findFeatureColour(Color defaultColour, SequenceI seq, int column) { + new Color(defaultColour.getRGB()); if (noFeaturesDisplayed()) { return defaultColour; @@ -98,10 +99,10 @@ public class FeatureColourFinder */ if (featureRenderer.getTransparency() != 1f) { + g = goff; Color c = (defaultColour == null ? Color.white : defaultColour); if (Platform.isJS()) { - g = goff; // Clear the HTML5 canvas color. // otherwise we get a smearing. // For whatever reason, this is necessary BH 2019.10.01. -- 1.7.10.2