From f9c2ba30317604ac20874f163a9e276260d3a20c Mon Sep 17 00:00:00 2001 From: hansonr Date: Tue, 24 Sep 2019 07:43:01 -0400 Subject: [PATCH] JAL-3253-applet JAL-4440 overview 1 pixel off in hidden row view --- src/jalview/renderer/OverviewRenderer.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/jalview/renderer/OverviewRenderer.java b/src/jalview/renderer/OverviewRenderer.java index 0768681..28221e4 100644 --- a/src/jalview/renderer/OverviewRenderer.java +++ b/src/jalview/renderer/OverviewRenderer.java @@ -631,7 +631,9 @@ public class OverviewRenderer // get details of this alignment row if (rows.isHidden(alignmentRow)) { - g2d.fillRect(0, pixelRow, w, endRow - 1 - pixelRow); + // BH 2019.09.24 fixes JAL-3440 Java+JavaScript off by one row in + // height + g2d.fillRect(0, pixelRow, w, endRow - pixelRow); } pixelRow = endRow; } -- 1.7.10.2