From f8ead1fdb720982f5f02ee806ccb4cb5f260cba9 Mon Sep 17 00:00:00 2001 From: gmungoc Date: Mon, 31 Jul 2017 11:20:15 +0200 Subject: [PATCH] JAL-2622 don't vertical scroll wrapped alignment id panel from trackpad --- src/jalview/gui/IdPanel.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/jalview/gui/IdPanel.java b/src/jalview/gui/IdPanel.java index 065f97e..2d24512 100755 --- 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); } -- 1.7.10.2