From e549be446ec3ed7f7b1bc8b348c409bcffca901b Mon Sep 17 00:00:00 2001 From: jprocter Date: Fri, 22 Jul 2011 15:56:55 +0100 Subject: [PATCH] code style --- src/jalview/gui/AnnotationColourChooser.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/jalview/gui/AnnotationColourChooser.java b/src/jalview/gui/AnnotationColourChooser.java index 639140e..49f356d 100755 --- a/src/jalview/gui/AnnotationColourChooser.java +++ b/src/jalview/gui/AnnotationColourChooser.java @@ -101,11 +101,9 @@ public class AnnotationColourChooser extends JPanel { AnnotationColourGradient acg = (AnnotationColourGradient) oldcs; currentColours.setSelected(acg.predefinedColours); - if (acg.predefinedColours) + if (!acg.predefinedColours) { - - } else { - minColour.setBackground(acg.getMinColour()); + minColour.setBackground(acg.getMinColour()); maxColour.setBackground(acg.getMaxColour()); } } -- 1.7.10.2