From: kiramt Date: Thu, 8 Jun 2017 10:39:26 +0000 (+0100) Subject: JAL-2591 Made redraw flag in OverviewRenderer volatile X-Git-Tag: Release_2_10_3b1~132^2~21^2 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=a264330266dd81fd668303c7289229b3a8867090;p=jalview.git JAL-2591 Made redraw flag in OverviewRenderer volatile --- 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)