viewport flag to indicate when structure view needs updating
[jalview.git] / src / jalview / gui / AlignmentPanel.java
index 60ef480..86e7489 100644 (file)
@@ -536,7 +536,7 @@ public class AlignmentPanel extends GAlignmentPanel implements
     addNotify();
     // TODO: many places call this method and also paintAlignment with various
     // different settings. this means multiple redraws are triggered...
-    paintAlignment(true, false);
+    paintAlignment(true, av.needToUpdateStructureViews());
   }
 
   /**