From 902545551ef0f546be958444bed784dae65d69d2 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Wed, 27 Apr 2016 17:02:02 +0100 Subject: [PATCH] JAL-192 fix off-by-one for alignment ruler with no reference --- src/jalview/gui/ScalePanel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jalview/gui/ScalePanel.java b/src/jalview/gui/ScalePanel.java index 61f1b36..7c8a1d7 100755 --- a/src/jalview/gui/ScalePanel.java +++ b/src/jalview/gui/ScalePanel.java @@ -521,7 +521,7 @@ public class ScalePanel extends JPanel implements MouseMotionListener, iadj = av.getColumnSelection().adjustForHiddenColumns(i) - 1; if (refSeq == null) { - string = String.valueOf(iadj); + string = String.valueOf(iadj + 1); } else { -- 1.7.10.2