Doesnt move with mouse, friendlier for mac users
[jalview.git] / src / jalview / appletgui / UserDefinedColours.java
index eb454d7..b9c0950 100755 (executable)
@@ -1,6 +1,6 @@
 /*\r
  * Jalview - A Sequence Alignment Editor and Viewer\r
- * Copyright (C) 2005 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle\r
+ * Copyright (C) 2006 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle\r
  *\r
  * This program is free software; you can redistribute it and/or\r
  * modify it under the terms of the GNU General Public License\r
@@ -248,7 +248,7 @@ public class UserDefinedColours
 \r
     try\r
     {\r
-      col = oldColourScheme.findColour(aa, -1);\r
+      col = oldColourScheme.findColour(aa.charAt(0), -1);\r
     }\r
     catch (Exception ex)\r
     {}\r