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:
4db8e85
)
JAL-2622 no vertical scroll of wrapped alignment from trackpad / mouse
author
gmungoc
<g.m.carstairs@dundee.ac.uk>
Fri, 28 Jul 2017 11:12:50 +0000
(13:12 +0200)
committer
gmungoc
<g.m.carstairs@dundee.ac.uk>
Fri, 28 Jul 2017 11:12:50 +0000
(13:12 +0200)
button
src/jalview/gui/SeqPanel.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/SeqPanel.java
b/src/jalview/gui/SeqPanel.java
index
6fbed49
..
e3cf330
100644
(file)
--- a/
src/jalview/gui/SeqPanel.java
+++ b/
src/jalview/gui/SeqPanel.java
@@
-1616,7
+1616,7
@@
public class SeqPanel extends JPanel implements MouseListener,
av.getRanges().scrollRight(true);
}
- else
+ else if (!av.getWrapAlignment())
{
av.getRanges().scrollUp(false);
}
@@
-1627,7
+1627,7
@@
public class SeqPanel extends JPanel implements MouseListener,
{
av.getRanges().scrollRight(false);
}
- else
+ else if (!av.getWrapAlignment())
{
av.getRanges().scrollUp(true);
}