ensure propagation of colour change on annotation update (JAL-868)
authorjprocter <jprocter@compbio.dundee.ac.uk>
Fri, 22 Jul 2011 16:57:59 +0000 (17:57 +0100)
committerjprocter <jprocter@compbio.dundee.ac.uk>
Fri, 22 Jul 2011 16:57:59 +0000 (17:57 +0100)
src/jalview/appletgui/AlignmentPanel.java
src/jalview/gui/AlignmentPanel.java

index ebe5785..7104355 100644 (file)
@@ -455,7 +455,7 @@ public class AlignmentPanel extends Panel implements AdjustmentListener, Alignme
     apvscroll.addNotify();
     hscroll.addNotify();
     validate();
-    repaint();
+    paintAlignment(true);
   }
   /**
    * calculate the annotation dimensions and refresh slider values accordingly.
index d2aa6d6..a088aa3 100644 (file)
@@ -396,7 +396,7 @@ public class AlignmentPanel extends GAlignmentPanel implements
     }
     validateAnnotationDimensions(true);
     addNotify();
-    repaint();
+    paintAlignment(true);
   }
   /**
    * calculate the annotation dimensions and refresh slider values accordingly.