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:
1eb2e0f
)
JAL-2622 don't vertical scroll wrapped alignment id panel from trackpad
author
gmungoc
<g.m.carstairs@dundee.ac.uk>
Mon, 31 Jul 2017 09:20:15 +0000
(11:20 +0200)
committer
gmungoc
<g.m.carstairs@dundee.ac.uk>
Mon, 31 Jul 2017 09:20:15 +0000
(11:20 +0200)
src/jalview/gui/IdPanel.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/IdPanel.java
b/src/jalview/gui/IdPanel.java
index
065f97e
..
2d24512
100755
(executable)
--- a/
src/jalview/gui/IdPanel.java
+++ b/
src/jalview/gui/IdPanel.java
@@
-154,7
+154,7
@@
public class IdPanel extends JPanel implements MouseListener,
{
av.getRanges().scrollRight(true);
}
- else
+ else if (!av.getWrapAlignment())
{
av.getRanges().scrollUp(false);
}
@@
-165,7
+165,7
@@
public class IdPanel extends JPanel implements MouseListener,
{
av.getRanges().scrollRight(false);
}
- else
+ else if (!av.getWrapAlignment())
{
av.getRanges().scrollUp(true);
}