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
IgnoreGapsConsensus
[jalview.git]
/
src
/
jalview
/
appletgui
/
AnnotationPanel.java
diff --git
a/src/jalview/appletgui/AnnotationPanel.java
b/src/jalview/appletgui/AnnotationPanel.java
index
cd6396f
..
8e9469a
100755
(executable)
--- a/
src/jalview/appletgui/AnnotationPanel.java
+++ b/
src/jalview/appletgui/AnnotationPanel.java
@@
-336,7
+336,7
@@
public class AnnotationPanel
fm.charWidth(row.annotations[j].displayCharacter.
\r
charAt(0))) / 2;
\r
g.setColor(row.annotations[j].colour);
\r
fm.charWidth(row.annotations[j].displayCharacter.
\r
charAt(0))) / 2;
\r
g.setColor(row.annotations[j].colour);
\r
- if (j == 0)
\r
+ if (j == 0 || row.isGraph)
\r
{
\r
if (row.annotations[0].secondaryStructure == 'H'
\r
|| row.annotations[0].secondaryStructure == 'E')
\r
{
\r
if (row.annotations[0].secondaryStructure == 'H'
\r
|| row.annotations[0].secondaryStructure == 'E')
\r
@@
-352,7
+352,7
@@
public class AnnotationPanel
row.annotations[j - 1].secondaryStructure))
\r
{
\r
\r
row.annotations[j - 1].secondaryStructure))
\r
{
\r
\r
- g.drawString(row.annotations[j].displayCharacter, x,
\r
+ g.drawString(row.annotations[j].displayCharacter, x + charOffset,
\r
y + iconOffset + 2);
\r
}
\r
\r
y + iconOffset + 2);
\r
}
\r
\r