From 6340fc2bde23c0fedb099a29c263a937492b9847 Mon Sep 17 00:00:00 2001 From: Kevin Lydon Date: Wed, 5 Jul 2023 11:59:01 -0400 Subject: [PATCH] Modified SequenceRenderer to update nucleotide colors to match preferences when a new renderer is instanced --- src/main/java/org/broad/igv/renderer/SequenceRenderer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/broad/igv/renderer/SequenceRenderer.java b/src/main/java/org/broad/igv/renderer/SequenceRenderer.java index 5400abdcdd..5739fb589e 100644 --- a/src/main/java/org/broad/igv/renderer/SequenceRenderer.java +++ b/src/main/java/org/broad/igv/renderer/SequenceRenderer.java @@ -100,7 +100,7 @@ private synchronized static void setNucleotideColors() { public SequenceRenderer() { - if (nucleotideColors == null) setNucleotideColors(); + setNucleotideColors(); translatedSequenceDrawer = new TranslatedSequenceDrawer(); }