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-3010 options to hide / apply changes to ontology sub-types
[jalview.git]
/
src
/
jalview
/
renderer
/
AnnotationRenderer.java
diff --git
a/src/jalview/renderer/AnnotationRenderer.java
b/src/jalview/renderer/AnnotationRenderer.java
index
8a80d41
..
adca17e
100644
(file)
--- a/
src/jalview/renderer/AnnotationRenderer.java
+++ b/
src/jalview/renderer/AnnotationRenderer.java
@@
-163,7
+163,7
@@
public class AnnotationRenderer
{
g.setColor(STEM_COLOUR);
int sCol = (lastSSX / charWidth)
{
g.setColor(STEM_COLOUR);
int sCol = (lastSSX / charWidth)
- + hiddenColumns.adjustForHiddenColumns(startRes);
+ + hiddenColumns.visibleToAbsoluteColumn(startRes);
int x1 = lastSSX;
int x2 = (x * charWidth);
int x1 = lastSSX;
int x2 = (x * charWidth);
@@
-230,7
+230,7
@@
public class AnnotationRenderer
g.setColor(nonCanColor);
int sCol = (lastSSX / charWidth)
g.setColor(nonCanColor);
int sCol = (lastSSX / charWidth)
- + hiddenColumns.adjustForHiddenColumns(startRes);
+ + hiddenColumns.visibleToAbsoluteColumn(startRes);
int x1 = lastSSX;
int x2 = (x * charWidth);
int x1 = lastSSX;
int x2 = (x * charWidth);
@@
-602,7
+602,7
@@
public class AnnotationRenderer
{
if (hasHiddenColumns)
{
{
if (hasHiddenColumns)
{
- column = hiddenColumns.adjustForHiddenColumns(startRes + x);
+ column = hiddenColumns.visibleToAbsoluteColumn(startRes + x);
if (column > row_annotations.length - 1)
{
break;
if (column > row_annotations.length - 1)
{
break;
@@
-1150,7
+1150,7
@@
public class AnnotationRenderer
g.setColor(HELIX_COLOUR);
int sCol = (lastSSX / charWidth)
g.setColor(HELIX_COLOUR);
int sCol = (lastSSX / charWidth)
- + hiddenColumns.adjustForHiddenColumns(startRes);
+ + hiddenColumns.visibleToAbsoluteColumn(startRes);
int x1 = lastSSX;
int x2 = (x * charWidth);
int x1 = lastSSX;
int x2 = (x * charWidth);
@@
-1250,7
+1250,7
@@
public class AnnotationRenderer
column = sRes + x;
if (hasHiddenColumns)
{
column = sRes + x;
if (hasHiddenColumns)
{
- column = hiddenColumns.adjustForHiddenColumns(column);
+ column = hiddenColumns.visibleToAbsoluteColumn(column);
}
if (column > aaMax)
}
if (column > aaMax)
@@
-1330,7
+1330,7
@@
public class AnnotationRenderer
column = sRes + x;
if (hasHiddenColumns)
{
column = sRes + x;
if (hasHiddenColumns)
{
- column = hiddenColumns.adjustForHiddenColumns(column);
+ column = hiddenColumns.visibleToAbsoluteColumn(column);
}
if (column > aaMax)
}
if (column > aaMax)