JAL-3444 missed commit of removal of object creation test.
[jalview.git] / src / jalview / renderer / seqfeatures / FeatureColourFinder.java
index 836bc4a..57366b9 100644 (file)
@@ -98,10 +98,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.