From: James Procter Date: Tue, 30 May 2023 16:13:01 +0000 (+0100) Subject: JAL-4134 repaint the tree or alignment view(s) when column selections change X-Git-Tag: Release_2_11_3_0~14^2~3^2^2~2 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=f1b52d06899b84108b558431e81b71f187844ffa;p=jalview.git JAL-4134 repaint the tree or alignment view(s) when column selections change --- diff --git a/src/jalview/gui/ScalePanel.java b/src/jalview/gui/ScalePanel.java index 930ba79..422601d 100755 --- a/src/jalview/gui/ScalePanel.java +++ b/src/jalview/gui/ScalePanel.java @@ -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()); } } diff --git a/src/jalview/gui/TreeCanvas.java b/src/jalview/gui/TreeCanvas.java index efa23bd..2bdfc27 100755 --- a/src/jalview/gui/TreeCanvas.java +++ b/src/jalview/gui/TreeCanvas.java @@ -1262,6 +1262,7 @@ public class TreeCanvas extends JPanel implements MouseListener, Runnable, } } } + PaintRefresher.Refresh(tp, av.getSequenceSetId()); } public void createSeqGroupFor(AlignmentPanel[] aps, Vector l,