JAL-2018 export graduated feature colours correctly
[jalview.git] / src / jalview / appletgui / FeatureRenderer.java
index 03d4ce6..a93cdcb 100644 (file)
@@ -351,12 +351,6 @@ public class FeatureRenderer extends
     start.setText(features[0].getBegin() + "");
     end.setText(features[0].getEnd() + "");
     description.setText(features[0].getDescription());
-    Color col = getColour(name.getText());
-    if (col == null)
-    {
-      col = new jalview.schemes.UserColourScheme()
-              .createColourFromName(name.getText());
-    }
     Object fcol = getFeatureStyle(name.getText());
     // simply display the feature color in a box
     colourPanel.updateColor(fcol);