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:
1a6fbad
)
dont drag beyond end of alignment
author
amwaterhouse
<Andrew Waterhouse>
Mon, 18 Apr 2005 08:08:05 +0000
(08:08 +0000)
committer
amwaterhouse
<Andrew Waterhouse>
Mon, 18 Apr 2005 08:08:05 +0000
(08:08 +0000)
src/jalview/gui/SeqPanel.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/SeqPanel.java
b/src/jalview/gui/SeqPanel.java
index
0b84fa5
..
3bc9bc5
100755
(executable)
--- a/
src/jalview/gui/SeqPanel.java
+++ b/
src/jalview/gui/SeqPanel.java
@@
-499,8
+499,8
@@
public class SeqPanel extends JPanel
if(stretchGroup==null)
\r
return;
\r
\r
- if(res>av.alignment.getWidth()-2)
\r
- res = av.alignment.getWidth()-2;
\r
+ if(res>av.alignment.getWidth())
\r
+ res = av.alignment.getWidth()-1;
\r
\r
\r
if(stretchGroup.getEndRes()==res)
\r