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:
3dc211d
)
Dont fastpaint if movement is zero
author
amwaterhouse
<Andrew Waterhouse>
Mon, 12 Sep 2005 12:27:08 +0000
(12:27 +0000)
committer
amwaterhouse
<Andrew Waterhouse>
Mon, 12 Sep 2005 12:27:08 +0000
(12:27 +0000)
src/jalview/gui/AlignmentPanel.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/AlignmentPanel.java
b/src/jalview/gui/AlignmentPanel.java
index
fae6dfc
..
b3b2865
100755
(executable)
--- a/
src/jalview/gui/AlignmentPanel.java
+++ b/
src/jalview/gui/AlignmentPanel.java
@@
-479,7
+479,7
@@
public class AlignmentPanel extends GAlignmentPanel
int xShift = av.getStartRes() - oldX;
\r
int yShift = av.getStartSeq() - oldY;
\r
\r
- if ( (xShift == 0 && yShift == 0) ||
\r
+ if ( (xShift != 0 && yShift != 0) ||
\r
(Math.abs(xShift) > av.getEndRes() - av.getStartRes()
\r
|| Math.abs(yShift) > av.getEndSeq() - av.getStartSeq())
\r
|| av.getWrapAlignment()
\r