From: amwaterhouse Date: Tue, 13 Sep 2005 17:45:25 +0000 (+0000) Subject: Dont respond to mouse movements if alignment wrapped X-Git-Tag: Release_2_05b~38 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=2ffe2deedb1527c067060646055bddd18d41d367;p=jalview.git Dont respond to mouse movements if alignment wrapped --- 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); } });