From: hansonr Date: Thu, 10 Oct 2019 13:39:23 +0000 (+0200) Subject: JAL-3444 translucent overview X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=46a744235cfb0a74ece57af339c319129abbddab;p=jalview.git JAL-3444 translucent overview - oops, that broke Java! --- 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.