JAL-4134 repaint the tree or alignment view(s) when column selections change
authorJames Procter <j.procter@dundee.ac.uk>
Tue, 30 May 2023 16:13:01 +0000 (17:13 +0100)
committerJames Procter <j.procter@dundee.ac.uk>
Tue, 30 May 2023 16:13:01 +0000 (17:13 +0100)
src/jalview/gui/ScalePanel.java
src/jalview/gui/TreeCanvas.java

index 930ba79..422601d 100755 (executable)
@@ -269,6 +269,7 @@ public class ScalePanel extends JPanel
     }
     av.setSelectionGroup(sg);
     ap.paintAlignment(false, false);
+    PaintRefresher.Refresh(this,av.getSequenceSetId());
     av.sendSelection();
   }
 
@@ -367,6 +368,7 @@ public class ScalePanel extends JPanel
       stretchingGroup = true;
       cs.stretchGroup(res, sg, min, max);
       ap.paintAlignment(false, false);
+      PaintRefresher.Refresh(ap, av.getSequenceSetId());
     }
   }
 
index efa23bd..2bdfc27 100755 (executable)
@@ -1262,6 +1262,7 @@ public class TreeCanvas extends JPanel implements MouseListener, Runnable,
         }
       }
     }
+    PaintRefresher.Refresh(tp, av.getSequenceSetId());
   }
 
   public void createSeqGroupFor(AlignmentPanel[] aps, Vector<BinaryNode> l,