From: Jim Procter Date: Wed, 19 Sep 2018 15:16:18 +0000 (+0100) Subject: JAL-3010 fix up bad merge from develop X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=58d01bd17f04745e37f69f947a41432fb9e3ec15;p=jalview.git JAL-3010 fix up bad merge from develop --- diff --git a/src/jalview/gui/FeatureTypeSettings.java b/src/jalview/gui/FeatureTypeSettings.java index 9609996..7fb52e2 100644 --- a/src/jalview/gui/FeatureTypeSettings.java +++ b/src/jalview/gui/FeatureTypeSettings.java @@ -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