From 8ec596f7eef1aec80c0daf94441dfb88cd070a4f Mon Sep 17 00:00:00 2001 From: gmungoc Date: Tue, 22 Aug 2017 13:34:41 +0100 Subject: [PATCH] JAL-2609 tiny tidy --- src/jalview/gui/SeqCanvas.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/jalview/gui/SeqCanvas.java b/src/jalview/gui/SeqCanvas.java index 55e6182..22e2fe4 100755 --- a/src/jalview/gui/SeqCanvas.java +++ b/src/jalview/gui/SeqCanvas.java @@ -237,10 +237,9 @@ public class SeqCanvas extends JComponent implements ViewportListenerI */ g.setColor(Color.white); int y = (ypos + (i * charHeight)) - (charHeight / 5); - y -= charHeight; // fillRect: origin is top left of rectangle - g.fillRect(0, y, left ? labelWidthWest : labelWidthEast, + // fillRect origin is top left of rectangle + g.fillRect(0, y - charHeight, left ? labelWidthWest : labelWidthEast, charHeight + 1); - y += charHeight; // drawString: origin is bottom left of text if (value != -1) { -- 1.7.10.2