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:
7fec702
)
seals selection box if at bottom of alignment
author
amwaterhouse
<Andrew Waterhouse>
Thu, 7 Apr 2005 16:57:57 +0000
(16:57 +0000)
committer
amwaterhouse
<Andrew Waterhouse>
Thu, 7 Apr 2005 16:57:57 +0000
(16:57 +0000)
src/jalview/gui/SeqPanel.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/SeqPanel.java
b/src/jalview/gui/SeqPanel.java
index
3e47f4b
..
3595fe6
100755
(executable)
--- a/
src/jalview/gui/SeqPanel.java
+++ b/
src/jalview/gui/SeqPanel.java
@@
-544,7
+544,7
@@
public class SeqPanel extends JPanel
else if (y < oldSeq)
\r
dragDirection = -1;
\r
\r
- while (y != oldSeq && oldSeq>0)
\r
+ while (y != oldSeq && oldSeq>0 && y<av.alignment.getHeight())
\r
{
\r
// This routine ensures we don't skip any sequences, as the
\r
// selection is quite slow.
\r