git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed87c8b
)
JAL-192 fix off-by-one for alignment ruler with no reference
author
Jim Procter
<jprocter@issues.jalview.org>
Wed, 27 Apr 2016 16:02:02 +0000
(17:02 +0100)
committer
Jim Procter
<jprocter@issues.jalview.org>
Wed, 27 Apr 2016 16:02:02 +0000
(17:02 +0100)
src/jalview/gui/ScalePanel.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/ScalePanel.java
b/src/jalview/gui/ScalePanel.java
index
61f1b36
..
7c8a1d7
100755
(executable)
--- 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
{