avoid race condition when featureRenderer for structure is updated by its associated...
[jalview.git] / src / jalview / gui / FeatureRenderer.java
index db2ce7e..d613a30 100755 (executable)
@@ -211,7 +211,7 @@ public class FeatureRenderer implements jalview.api.FeatureRenderer
    * This is used by the Molecule Viewer and Overview to get the accurate
    * colourof the rendered sequence
    */
-  public int findFeatureColour(int initialCol, SequenceI seq, int column)
+  public synchronized int findFeatureColour(int initialCol, SequenceI seq, int column)
   {
     if (!av.showSequenceFeatures)
     {