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:
517fd15
)
JAL-2827 Fix notched repaint of helix annotation when scrolling
author
kiramt
<k.mourao@dundee.ac.uk>
Thu, 9 Nov 2017 20:05:31 +0000
(20:05 +0000)
committer
kiramt
<k.mourao@dundee.ac.uk>
Thu, 9 Nov 2017 20:05:31 +0000
(20:05 +0000)
src/jalview/renderer/AnnotationRenderer.java
patch
|
blob
|
history
diff --git
a/src/jalview/renderer/AnnotationRenderer.java
b/src/jalview/renderer/AnnotationRenderer.java
index
41772d4
..
683ca78
100644
(file)
--- a/
src/jalview/renderer/AnnotationRenderer.java
+++ b/
src/jalview/renderer/AnnotationRenderer.java
@@
-1147,7
+1147,8
@@
public class AnnotationRenderer
{
g.setColor(HELIX_COLOUR);
- int sCol = (lastSSX / charWidth) + startRes;
+ int sCol = (lastSSX / charWidth)
+ + hiddenColumns.adjustForHiddenColumns(startRes);
int x1 = lastSSX;
int x2 = (x * charWidth);