From e71a5d2b1e0025a8e23eb637f12f6f5665c91feb Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Tue, 8 Mar 2005 14:34:10 +0000 Subject: [PATCH] only set graphics black once at beginning of text --- src/jalview/gui/SequenceRenderer.java | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/src/jalview/gui/SequenceRenderer.java b/src/jalview/gui/SequenceRenderer.java index 69db54d..5b5a392 100755 --- a/src/jalview/gui/SequenceRenderer.java +++ b/src/jalview/gui/SequenceRenderer.java @@ -98,17 +98,19 @@ public class SequenceRenderer implements RendererI int charOffset=0; char s; // Need to find the sequence position here. + + graphics.setColor(Color.black); + String sequence = seq.getSequence(); for (int i = start; i <= end; i++) { - if(i