git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64a0d83
)
Dont respond to mouse movements if alignment wrapped
author
amwaterhouse
<Andrew Waterhouse>
Tue, 13 Sep 2005 17:45:25 +0000
(17:45 +0000)
committer
amwaterhouse
<Andrew Waterhouse>
Tue, 13 Sep 2005 17:45:25 +0000
(17:45 +0000)
src/jalview/gui/OverviewPanel.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/OverviewPanel.java
b/src/jalview/gui/OverviewPanel.java
index
7086a51
..
635e455
100755
(executable)
--- a/
src/jalview/gui/OverviewPanel.java
+++ b/
src/jalview/gui/OverviewPanel.java
@@
-109,6
+109,7
@@
public class OverviewPanel extends JPanel implements Runnable
{
\r
public void mouseDragged(MouseEvent evt)
\r
{
\r
+ if(!av.wrapAlignment)
\r
doMouseDragged(evt);
\r
}
\r
});
\r
@@
-117,11
+118,13
@@
public class OverviewPanel extends JPanel implements Runnable
{
\r
public void mousePressed(MouseEvent evt)
\r
{
\r
+ if(!av.wrapAlignment)
\r
doMousePressed(evt);
\r
}
\r
\r
public void mouseReleased(MouseEvent evt)
\r
{
\r
+ if(!av.wrapAlignment)
\r
doMouseReleased(evt);
\r
}
\r
});
\r