From a264330266dd81fd668303c7289229b3a8867090 Mon Sep 17 00:00:00 2001 From: kiramt Date: Thu, 8 Jun 2017 11:39:26 +0100 Subject: [PATCH] JAL-2591 Made redraw flag in OverviewRenderer volatile --- src/jalview/renderer/OverviewRenderer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jalview/renderer/OverviewRenderer.java b/src/jalview/renderer/OverviewRenderer.java index 913c870..46490cd 100644 --- a/src/jalview/renderer/OverviewRenderer.java +++ b/src/jalview/renderer/OverviewRenderer.java @@ -49,7 +49,7 @@ public class OverviewRenderer private float pixelsPerSeq; // flag to indicate whether to halt drawing - private boolean redraw = false; + private volatile boolean redraw = false; public OverviewRenderer(jalview.api.SequenceRenderer seqRenderer, FeatureRenderer fr, OverviewDimensions od) -- 1.7.10.2