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:
b06a31d
)
JAL-4375 Fixed sensitivity of new more responsive left-right side scrolling
author
Ben Soares
<b.soares@dundee.ac.uk>
Wed, 31 Jan 2024 09:11:43 +0000
(09:11 +0000)
committer
Ben Soares
<b.soares@dundee.ac.uk>
Wed, 31 Jan 2024 09:11:43 +0000
(09:11 +0000)
src/jalview/gui/SeqPanel.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/SeqPanel.java
b/src/jalview/gui/SeqPanel.java
index
c563c79
..
2634b7a
100644
(file)
--- a/
src/jalview/gui/SeqPanel.java
+++ b/
src/jalview/gui/SeqPanel.java
@@
-2253,7
+2253,7
@@
public class SeqPanel extends JPanel
*/
if (!ap.isScrolledFullyRight())
{
- av.getRanges().scrollRight(true, size);
+ av.getRanges().scrollRight(true, size - 1);
}
}
else
@@
-2277,7
+2277,7
@@
public class SeqPanel extends JPanel
/*
* scroll left
*/
- av.getRanges().scrollRight(false, size);
+ av.getRanges().scrollRight(false, size - 1);
}
else
{