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:
ab6be38
)
Add end of consensus test for wrapped edit
author
amwaterhouse
<Andrew Waterhouse>
Wed, 14 Sep 2005 15:43:55 +0000
(15:43 +0000)
committer
amwaterhouse
<Andrew Waterhouse>
Wed, 14 Sep 2005 15:43:55 +0000
(15:43 +0000)
src/jalview/gui/SeqCanvas.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/SeqCanvas.java
b/src/jalview/gui/SeqCanvas.java
index
3cf7f9a
..
657b9d9
100755
(executable)
--- a/
src/jalview/gui/SeqCanvas.java
+++ b/
src/jalview/gui/SeqCanvas.java
@@
-426,6
+426,12
@@
public class SeqCanvas extends JComponent
cWidth * av.charWidth, (int) clip.getBounds().getHeight());
\r
}
\r
\r
+ if (av.vconsensus!=null && av.alignment.getWidth() >= av.vconsensus.size())
\r
+ {
\r
+ endx = av.vconsensus.size() - 2;
\r
+ }
\r
+
\r
+
\r
drawPanel(g, startRes, endx, 0, al.getHeight(), startRes, 0, ypos);
\r
g.setClip(clip);
\r
g.translate(-LABEL_WEST, 0);
\r