JAL-845 implement alignment of protein to match cDNA alignment
[jalview.git] / src / jalview / util / MappingUtils.java
index 1f2e8db..6ddaa99 100644 (file)
@@ -284,9 +284,11 @@ public final class MappingUtils
             .getCodonFrames();
 
     /*
-     * Copy group name, colours, but not sequences
+     * Copy group name, name colours, but not sequences or sequence colour
+     * scheme
      */
     SequenceGroup mappedGroup = new SequenceGroup(sg);
+    sg.cs = mapTo.getGlobalColourScheme();
     mappedGroup.clear();
     // TODO set width of mapped group