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:
c8d59bf
)
JAL-4375 This extra clip isn't necessary
author
Ben Soares
<b.soares@dundee.ac.uk>
Wed, 7 Feb 2024 14:20:39 +0000
(14:20 +0000)
committer
Ben Soares
<b.soares@dundee.ac.uk>
Wed, 7 Feb 2024 14:20:39 +0000
(14:20 +0000)
src/jalview/renderer/AnnotationRenderer.java
patch
|
blob
|
history
diff --git
a/src/jalview/renderer/AnnotationRenderer.java
b/src/jalview/renderer/AnnotationRenderer.java
index
734e33c
..
0da5603
100644
(file)
--- a/
src/jalview/renderer/AnnotationRenderer.java
+++ b/
src/jalview/renderer/AnnotationRenderer.java
@@
-683,6
+683,7
@@
public class AnnotationRenderer
// flag used for vector rendition
this.glyphLineDrawn = false;
x = (startRes == 0) ? 0 : -1;
+
while (x < endRes - startRes)
{
if (hasHiddenColumns)
@@
-785,11
+786,6
@@
public class AnnotationRenderer
* translate to drawing position _before_ applying any scaling
*/
g2dCopy.translate(xPos, yPos);
- // narrow the clipping rectangle to the size of a character square
- // or the character width
- g2dCopy.clipRect(0, 0 - charHeight,
- (int) Math.ceil(Math.max(charWidth, fmWidth)),
- charHeight);
if (scaledToFit)
{
/*