From: gmungoc Date: Mon, 31 Jul 2017 09:20:15 +0000 (+0200) Subject: JAL-2622 don't vertical scroll wrapped alignment id panel from trackpad X-Git-Tag: Release_2_10_3b1~132^2~32 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=f8ead1fdb720982f5f02ee806ccb4cb5f260cba9;p=jalview.git JAL-2622 don't vertical scroll wrapped alignment id panel from trackpad --- 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); }