Make 24 colours to be sure
authoramwaterhouse <Andrew Waterhouse>
Tue, 30 Aug 2005 15:26:14 +0000 (15:26 +0000)
committeramwaterhouse <Andrew Waterhouse>
Tue, 30 Aug 2005 15:26:14 +0000 (15:26 +0000)
src/jalview/schemes/ColourSchemeProperty.java

index 1d0f08a..b586a0a 100755 (executable)
@@ -375,8 +375,8 @@ public class ColourSchemeProperty
             break;\r
 \r
         case USER_DEFINED:\r
-          Color[] col = new Color[23];\r
-          for (int i = 0; i < 23; i++)\r
+          Color[] col = new Color[24];\r
+          for (int i = 0; i < 24; i++)\r
             col[i] = Color.white;\r
           cs = new UserColourScheme(col);\r
             break;\r