From dcd8d3212242ef3bde7ff9d865f9dfb859407a30 Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Wed, 15 Jun 2005 15:05:22 +0000 Subject: [PATCH] Check colours not null --- src/jalview/gui/TreeCanvas.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/jalview/gui/TreeCanvas.java b/src/jalview/gui/TreeCanvas.java index 73b5b74..a293e28 100755 --- a/src/jalview/gui/TreeCanvas.java +++ b/src/jalview/gui/TreeCanvas.java @@ -576,12 +576,10 @@ public class TreeCanvas cs, true, true, false, 0, av.alignment.getWidth()); - + if(sg.cs !=null) ( (ResidueColourScheme) sg.cs).setThreshold(25); - - if (av.getGlobalColourScheme() instanceof ConservationColourScheme) { ConservationColourScheme ccs = (ConservationColourScheme) av. -- 1.7.10.2