JAL-3059 use the right colour for group border bug/JAL-3059groupBorder
authorgmungoc <g.m.carstairs@dundee.ac.uk>
Fri, 6 Jul 2018 11:31:08 +0000 (12:31 +0100)
committergmungoc <g.m.carstairs@dundee.ac.uk>
Fri, 6 Jul 2018 11:31:08 +0000 (12:31 +0100)
src/jalview/gui/SeqCanvas.java

index 8f315bd..86a81e7 100755 (executable)
@@ -1175,10 +1175,10 @@ public class SeqCanvas extends JComponent implements ViewportListenerI
     if (group != null)
     {
       g.setStroke(new BasicStroke());
-      g.setColor(group.getOutlineColour());
       
       do
       {
+        g.setColor(group.getOutlineColour());
         drawPartialGroupOutline(g, group, startRes, endRes, startSeq,
                 endSeq, offset);