From 58d01bd17f04745e37f69f947a41432fb9e3ec15 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Wed, 19 Sep 2018 16:16:18 +0100 Subject: [PATCH] JAL-3010 fix up bad merge from develop --- src/jalview/gui/FeatureTypeSettings.java | 10 ---------- 1 file changed, 10 deletions(-) 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 -- 1.7.10.2