From: kiramt Date: Mon, 24 Apr 2017 09:51:39 +0000 (+0100) Subject: JAL-2439 Fix to hidden column marker being one row too short X-Git-Tag: Release_2_10_3b1~307^2~2 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=e1c7d8b98cd2f12eee0f6ef14b39df6acda524a9;p=jalview.git JAL-2439 Fix to hidden column marker being one row too short --- diff --git a/src/jalview/appletgui/SeqCanvas.java b/src/jalview/appletgui/SeqCanvas.java index ed8a46d..0fd1e53 100755 --- a/src/jalview/appletgui/SeqCanvas.java +++ b/src/jalview/appletgui/SeqCanvas.java @@ -580,7 +580,7 @@ public class SeqCanvas extends Panel g1.setColor(Color.blue); g1.drawLine((blockEnd - blockStart + 1) * avcharWidth - 1, 0 + offset, (blockEnd - blockStart + 1) * avcharWidth - - 1, (endSeq - startSeq) * avcharHeight + - 1, (endSeq - startSeq + 1) * avcharHeight + offset); } diff --git a/src/jalview/gui/SeqCanvas.java b/src/jalview/gui/SeqCanvas.java index 4557819..19464ae 100755 --- a/src/jalview/gui/SeqCanvas.java +++ b/src/jalview/gui/SeqCanvas.java @@ -683,7 +683,7 @@ public class SeqCanvas extends JComponent g1.drawLine((blockEnd - blockStart + 1) * charWidth - 1, 0 + offset, (blockEnd - blockStart + 1) * charWidth - 1, - (endSeq - startSeq) * charHeight + offset); + (endSeq - startSeq + 1) * charHeight + offset); } g1.translate(-screenY * charWidth, 0);