JAL-2094 first pass with jalview.api.ColorI interface
[jalview.git] / src / jalview / gui / AppVarna.java
index f4a4f4d..e754adf 100644 (file)
@@ -32,6 +32,7 @@ import jalview.structure.SelectionListener;
 import jalview.structure.SelectionSource;
 import jalview.structure.StructureSelectionManager;
 import jalview.structure.VamsasSource;
+import jalview.util.ColorUtils;
 import jalview.util.Comparison;
 import jalview.util.MessageManager;
 import jalview.util.ShiftList;
@@ -424,7 +425,7 @@ public class AppVarna extends JInternalFrame implements SelectionListener,
       }
       selectionHighlighter.highlightRegion(rna, start, end);
       selectionHighlighter.getLastHighlight().setOutlineColor(
-              seqsel.getOutlineColour());
+              ColorUtils.getColor(seqsel.getOutlineColour()));
       // TODO - translate column markings to positions on structure if present.
       vab.updateSelectedRNA(rna);
     }