From 7ed4c708007f3f21391051ed66cd6fed5ed8f32b Mon Sep 17 00:00:00 2001 From: jprocter Date: Fri, 22 Jul 2011 17:57:59 +0100 Subject: [PATCH] ensure propagation of colour change on annotation update (JAL-868) --- src/jalview/appletgui/AlignmentPanel.java | 2 +- src/jalview/gui/AlignmentPanel.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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. -- 1.7.10.2