From 2ffe2deedb1527c067060646055bddd18d41d367 Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Tue, 13 Sep 2005 17:45:25 +0000 Subject: [PATCH] Dont respond to mouse movements if alignment wrapped --- src/jalview/gui/OverviewPanel.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/jalview/gui/OverviewPanel.java b/src/jalview/gui/OverviewPanel.java index 7086a51..635e455 100755 --- a/src/jalview/gui/OverviewPanel.java +++ b/src/jalview/gui/OverviewPanel.java @@ -109,6 +109,7 @@ public class OverviewPanel extends JPanel implements Runnable { public void mouseDragged(MouseEvent evt) { + if(!av.wrapAlignment) doMouseDragged(evt); } }); @@ -117,11 +118,13 @@ public class OverviewPanel extends JPanel implements Runnable { public void mousePressed(MouseEvent evt) { + if(!av.wrapAlignment) doMousePressed(evt); } public void mouseReleased(MouseEvent evt) { + if(!av.wrapAlignment) doMouseReleased(evt); } }); -- 1.7.10.2