JAL-3010 fix up bad merge from develop
authorJim Procter <jprocter@issues.jalview.org>
Wed, 19 Sep 2018 15:16:18 +0000 (16:16 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Wed, 19 Sep 2018 15:16:18 +0000 (16:16 +0100)
src/jalview/gui/FeatureTypeSettings.java

index 9609996..7fb52e2 100644 (file)
@@ -796,16 +796,6 @@ public class FeatureTypeSettings extends JalviewDialog
     singleColour.setFont(JvSwingUtils.getLabelFont());
     singleColour.setBorder(BorderFactory.createLineBorder(Color.black));
     singleColour.setPreferredSize(new Dimension(40, 20));
-    if (originalColour.isGraduatedColour())
-    {
-      singleColour.setBackground(originalColour.getMaxColour());
-      singleColour.setForeground(originalColour.getMaxColour());
-    }
-    else
-    {
-      singleColour.setBackground(originalColour.getColour());
-      singleColour.setForeground(originalColour.getColour());
-    }
     singleColour.addMouseListener(new MouseAdapter()
     {
       @Override