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)
committerJim Procter <jprocter@issues.jalview.org>
Tue, 28 Aug 2018 15:58:26 +0000 (16:58 +0100)
src/jalview/gui/SeqCanvas.java

index 64d681b..6ec48de 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);