From 618947a098219387b294a0c12aba8f0b7fc37fa3 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Sun, 19 May 2013 19:29:51 +0100 Subject: [PATCH] JAL-1161 only trigger an annotation repaint in unwrapped view when the horizontal offset changes. --- src/jalview/gui/AlignmentPanel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jalview/gui/AlignmentPanel.java b/src/jalview/gui/AlignmentPanel.java index b4647ae..c392b1c 100644 --- a/src/jalview/gui/AlignmentPanel.java +++ b/src/jalview/gui/AlignmentPanel.java @@ -688,7 +688,7 @@ public class AlignmentPanel extends GAlignmentPanel implements seqPanel.seqCanvas.fastPaint(scrollX, scrollY); scalePanel.repaint(); - if (av.getShowAnnotation()) + if (av.getShowAnnotation() && scrollX!=0) { annotationPanel.fastPaint(scrollX); } -- 1.7.10.2