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:
18dbe82
)
allow for fastpaint
author
amwaterhouse
<Andrew Waterhouse>
Wed, 15 Jun 2005 14:59:03 +0000
(14:59 +0000)
committer
amwaterhouse
<Andrew Waterhouse>
Wed, 15 Jun 2005 14:59:03 +0000
(14:59 +0000)
src/jalview/gui/FeatureRenderer.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/FeatureRenderer.java
b/src/jalview/gui/FeatureRenderer.java
index
e80d01a
..
1de32a5
100755
(executable)
--- a/
src/jalview/gui/FeatureRenderer.java
+++ b/
src/jalview/gui/FeatureRenderer.java
@@
-58,10
+58,12
@@
public class FeatureRenderer
\r
if ( ( (fstart <= end) && (fend >= start)))
\r
{
\r
- if (fstart < 0)
\r
+ if (fstart < start)
\r
{ // fix for if the feature we have starts before the sequence start,
\r
- fstart = 0; // but the feature end is still valid!!
\r
+ fstart = start; // but the feature end is still valid!!
\r
}
\r
+ if(fend >=end)
\r
+ fend = end;
\r
\r
if (fstart == fend)
\r
{
\r