From f6f774a4fa6885275b9d1902a4c8d470607e3447 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Thu, 3 Sep 2015 22:00:18 +0100 Subject: [PATCH] JAL-961 efficiency TODO: decouple overview updates from sequence colour broadcasts --- src/jalview/appletgui/AlignmentPanel.java | 1 + src/jalview/gui/AlignmentPanel.java | 1 + 2 files changed, 2 insertions(+) diff --git a/src/jalview/appletgui/AlignmentPanel.java b/src/jalview/appletgui/AlignmentPanel.java index 463c6c3..fd6652b 100644 --- a/src/jalview/appletgui/AlignmentPanel.java +++ b/src/jalview/appletgui/AlignmentPanel.java @@ -953,6 +953,7 @@ public class AlignmentPanel extends Panel implements AdjustmentListener, if (updateOverview) { + // TODO: determine if this paintAlignment changed structure colours jalview.structure.StructureSelectionManager .getStructureSelectionManager(av.applet) .sequenceColoursChanged(this); diff --git a/src/jalview/gui/AlignmentPanel.java b/src/jalview/gui/AlignmentPanel.java index e29a0e2..1b93f10 100644 --- a/src/jalview/gui/AlignmentPanel.java +++ b/src/jalview/gui/AlignmentPanel.java @@ -851,6 +851,7 @@ public class AlignmentPanel extends GAlignmentPanel implements if (updateOverview) { + // TODO: determine if this paintAlignment changed structure colours av.getStructureSelectionManager().sequenceColoursChanged(this); if (overviewPanel != null) -- 1.7.10.2