JAL-2623 updated Overview/structure on input of threshold value bug/JAL-2630gradColourUpdateOverview
authorgmungoc <g.m.carstairs@dundee.ac.uk>
Mon, 31 Jul 2017 09:28:09 +0000 (11:28 +0200)
committergmungoc <g.m.carstairs@dundee.ac.uk>
Mon, 31 Jul 2017 09:28:09 +0000 (11:28 +0200)
src/jalview/appletgui/FeatureColourChooser.java

index 1bc563a..72fa982 100644 (file)
@@ -277,6 +277,11 @@ public class FeatureColourChooser extends Panel implements ActionListener,
         float f = new Float(thresholdValue.getText()).floatValue();
         slider.setValue((int) (f * SCALE_FACTOR_1K));
         adjustmentValueChanged(null);
+
+        /*
+         * force repaint of any Overview window or structure
+         */
+        changeColour(true);
       } catch (NumberFormatException ex)
       {
       }