JAL-3059 use correct border colour for groups
authorgmungoc <g.m.carstairs@dundee.ac.uk>
Thu, 23 Aug 2018 12:28:52 +0000 (13:28 +0100)
committergmungoc <g.m.carstairs@dundee.ac.uk>
Thu, 23 Aug 2018 12:28:52 +0000 (13:28 +0100)
src/jalview/gui/SeqCanvas.java

index 53c9bb4..928ce41 100755 (executable)
@@ -1091,10 +1091,10 @@ public class SeqCanvas extends JComponent implements ViewportListenerI
 
     if (group != null)
     {
-      g.setColor(group.getOutlineColour());
-      
       do
       {
+        g.setColor(group.getOutlineColour());
+
         drawPartialGroupOutline(g, group, startRes, endRes, startSeq,
                 endSeq, offset);