From: gmungoc Date: Fri, 20 Jan 2017 14:48:16 +0000 (+0000) Subject: JAL-2385 tweak to applet 'switch colour slider context' X-Git-Tag: Release_2_10_3b1~362 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=b2014a1ca8c4ceee99933578e6cece2c3028c4f3;p=jalview.git JAL-2385 tweak to applet 'switch colour slider context' --- diff --git a/src/jalview/appletgui/SeqPanel.java b/src/jalview/appletgui/SeqPanel.java index 4278744..1debda8 100644 --- a/src/jalview/appletgui/SeqPanel.java +++ b/src/jalview/appletgui/SeqPanel.java @@ -1538,7 +1538,7 @@ public class SeqPanel extends Panel implements MouseMotionListener, SliderPanel.setConservationSlider(ap, stretchGroup.cs, stretchGroup.getName()); } - else + if (stretchGroup.cs.getThreshold() > 0) { SliderPanel.setPIDSliderSource(ap, stretchGroup.cs, stretchGroup.getName());