JAL-2385 tweak to applet 'switch colour slider context'
authorgmungoc <g.m.carstairs@dundee.ac.uk>
Fri, 20 Jan 2017 14:48:16 +0000 (14:48 +0000)
committergmungoc <g.m.carstairs@dundee.ac.uk>
Fri, 20 Jan 2017 14:48:16 +0000 (14:48 +0000)
src/jalview/appletgui/SeqPanel.java

index 4278744..1debda8 100644 (file)
@@ -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());