JAL-961 efficiency TODO: decouple overview updates from sequence colour broadcasts
authorJim Procter <jprocter@issues.jalview.org>
Thu, 3 Sep 2015 21:00:18 +0000 (22:00 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Thu, 3 Sep 2015 21:00:56 +0000 (22:00 +0100)
src/jalview/appletgui/AlignmentPanel.java
src/jalview/gui/AlignmentPanel.java

index 463c6c3..fd6652b 100644 (file)
@@ -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);
index e29a0e2..1b93f10 100644 (file)
@@ -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)