added feature gradient colours and sortby feature score/density to feature settings...
[jalview.git] / src / jalview / appletgui / UserDefinedColours.java
index 0f30539..e8e0e57 100755 (executable)
@@ -383,6 +383,15 @@ public class UserDefinedColours extends Panel implements ActionListener,
       {
         ((FeatureRenderer) caller).colourPanel.setBackground(getColor());
       }
+      else if (caller instanceof FeatureColourChooser)
+      {
+        if (originalLabel.indexOf("inimum")>-1)
+        {
+          ((FeatureColourChooser) caller).minColour_actionPerformed(getColor());
+        } else {
+          ((FeatureColourChooser) caller).maxColour_actionPerformed(getColor());
+        }
+      }
 
       return;
     }