From: gmungoc Date: Mon, 23 Oct 2017 14:48:11 +0000 (+0100) Subject: JAL-2776 repaint everything on toggle group colour X-Git-Tag: Release_2_10_3b1~62^2 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=cbbb5ab209dac86be8439435c9a4fc58371b5429;p=jalview.git JAL-2776 repaint everything on toggle group colour --- diff --git a/src/jalview/gui/FeatureSettings.java b/src/jalview/gui/FeatureSettings.java index b768339..3f1d9c7 100644 --- a/src/jalview/gui/FeatureSettings.java +++ b/src/jalview/gui/FeatureSettings.java @@ -541,13 +541,8 @@ public class FeatureSettings extends JPanel public void itemStateChanged(ItemEvent evt) { fr.setGroupVisibility(check.getText(), check.isSelected()); - af.alignPanel.getSeqPanel().seqCanvas.repaint(); - if (af.alignPanel.overviewPanel != null) - { - af.alignPanel.overviewPanel.updateOverviewImage(); - } - resetTable(new String[] { grp }); + af.alignPanel.paintAlignment(true, true); } }); groupPanel.add(check);