git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JAL-4250 Fix bug in vector rendition where more than one secondary structure loses...
[jalview.git]
/
src
/
jalview
/
renderer
/
AnnotationRenderer.java
diff --git
a/src/jalview/renderer/AnnotationRenderer.java
b/src/jalview/renderer/AnnotationRenderer.java
index
2380ac9
..
d943d39
100644
(file)
--- a/
src/jalview/renderer/AnnotationRenderer.java
+++ b/
src/jalview/renderer/AnnotationRenderer.java
@@
-472,8
+472,6
@@
public class AnnotationRenderer
this.setVectorRendition(true);
}
Graphics2D g2d = (Graphics2D) g;
this.setVectorRendition(true);
}
Graphics2D g2d = (Graphics2D) g;
- // flag used for vector rendition
- this.glyphLineDrawn = false;
long stime = System.currentTimeMillis();
boolean usedFaded = false;
long stime = System.currentTimeMillis();
boolean usedFaded = false;
@@
-624,6
+622,9
@@
public class AnnotationRenderer
// first pass sets up state for drawing continuation from left-hand
// column
// of startRes
// first pass sets up state for drawing continuation from left-hand
// column
// of startRes
+
+ // flag used for vector rendition
+ this.glyphLineDrawn = false;
x = (startRes == 0) ? 0 : -1;
while (x < endRes - startRes)
{
x = (startRes == 0) ? 0 : -1;
while (x < endRes - startRes)
{