From: jprocter Date: Fri, 22 Jul 2011 16:57:59 +0000 (+0100) Subject: ensure propagation of colour change on annotation update (JAL-868) X-Git-Tag: Release_2_7~125 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=7ed4c708007f3f21391051ed66cd6fed5ed8f32b;p=jalview.git ensure propagation of colour change on annotation update (JAL-868) --- diff --git a/src/jalview/appletgui/AlignmentPanel.java b/src/jalview/appletgui/AlignmentPanel.java index ebe5785..7104355 100644 --- a/src/jalview/appletgui/AlignmentPanel.java +++ b/src/jalview/appletgui/AlignmentPanel.java @@ -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. diff --git a/src/jalview/gui/AlignmentPanel.java b/src/jalview/gui/AlignmentPanel.java index d2aa6d6..a088aa3 100644 --- a/src/jalview/gui/AlignmentPanel.java +++ b/src/jalview/gui/AlignmentPanel.java @@ -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.