From: Ben Soares Date: Wed, 31 Jan 2024 09:11:43 +0000 (+0000) Subject: JAL-4375 Fixed sensitivity of new more responsive left-right side scrolling X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=27b122992f912988150a8c0fc1319f366d8d49ba;p=jalview.git JAL-4375 Fixed sensitivity of new more responsive left-right side scrolling --- diff --git a/src/jalview/gui/SeqPanel.java b/src/jalview/gui/SeqPanel.java index c563c79..2634b7a 100644 --- 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 {