From: gmungoc Date: Mon, 31 Jul 2017 09:28:09 +0000 (+0200) Subject: JAL-2623 updated Overview/structure on input of threshold value X-Git-Tag: Release_2_10_3b1~132^2~31^2 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2Fbug%2FJAL-2630gradColourUpdateOverview;hp=86b6ba5e66a241aae7bc83edc7386426bcd99513;p=jalview.git JAL-2623 updated Overview/structure on input of threshold value --- diff --git a/src/jalview/appletgui/FeatureColourChooser.java b/src/jalview/appletgui/FeatureColourChooser.java index 1bc563a..72fa982 100644 --- a/src/jalview/appletgui/FeatureColourChooser.java +++ b/src/jalview/appletgui/FeatureColourChooser.java @@ -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) { }