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:
6d2243f
)
JAL-4250 Fix bug in vector rendition where more than one secondary structure loses...
improvement/JAL-4250_secondary_structure_annotation_antialias
author
Ben Soares
<b.soares@dundee.ac.uk>
Thu, 24 Aug 2023 16:54:37 +0000
(17:54 +0100)
committer
Ben Soares
<b.soares@dundee.ac.uk>
Thu, 24 Aug 2023 16:54:37 +0000
(17:54 +0100)
src/jalview/renderer/AnnotationRenderer.java
patch
|
blob
|
history
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;
- // flag used for vector rendition
- this.glyphLineDrawn = 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
+
+ // flag used for vector rendition
+ this.glyphLineDrawn = false;
x = (startRes == 0) ? 0 : -1;
while (x < endRes - startRes)
{