JAL-2371 rename global/viewportColourScheme to residueShading
[jalview.git] / src / jalview / appletgui / TreeCanvas.java
index 510df94..e30879c 100755 (executable)
@@ -672,13 +672,13 @@ public class TreeCanvas extends Panel implements MouseListener,
       // instead we set it manually - recalc called after updateAnnotation
       sg.setColourScheme(cs);
       sg.getGroupColourScheme().setThreshold(
-              av.getViewportColourScheme().getThreshold(),
+              av.getResidueShading().getThreshold(),
               av.isIgnoreGapsConsensus());
 
       sg.setName("JTreeGroup:" + sg.hashCode());
       sg.setIdColour(col);
       if (av.getGlobalColourScheme() != null
-              && av.getViewportColourScheme().conservationApplied())
+              && av.getResidueShading().conservationApplied())
       {
         Conservation c = new Conservation("Group", sg.getSequences(null),
                 sg.getStartRes(), sg.getEndRes());