From: hansonr Date: Tue, 24 Sep 2019 11:43:01 +0000 (-0400) Subject: JAL-3253-applet JAL-4440 overview 1 pixel off in hidden row view X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=f9c2ba30317604ac20874f163a9e276260d3a20c;p=jalview.git JAL-3253-applet JAL-4440 overview 1 pixel off in hidden row view --- 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; }