From b2014a1ca8c4ceee99933578e6cece2c3028c4f3 Mon Sep 17 00:00:00 2001 From: gmungoc Date: Fri, 20 Jan 2017 14:48:16 +0000 Subject: [PATCH] JAL-2385 tweak to applet 'switch colour slider context' --- src/jalview/appletgui/SeqPanel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); -- 1.7.10.2