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:
762dd65
)
JAL-2512 Fix to show non-gap positions in None colour scheme
author
kiramt
<k.mourao@dundee.ac.uk>
Mon, 8 May 2017 07:54:41 +0000
(08:54 +0100)
committer
kiramt
<k.mourao@dundee.ac.uk>
Mon, 8 May 2017 07:54:41 +0000
(08:54 +0100)
src/jalview/gui/SequenceRenderer.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/SequenceRenderer.java
b/src/jalview/gui/SequenceRenderer.java
index
1c0420d
..
91c3f0f
100755
(executable)
--- a/
src/jalview/gui/SequenceRenderer.java
+++ b/
src/jalview/gui/SequenceRenderer.java
@@
-137,7
+137,7
@@
public class SequenceRenderer implements jalview.api.SequenceRenderer
*/
void getBoxColour(ResidueShaderI shader, SequenceI seq, int i)
{
- if (shader != null)
+ if (shader.getColourScheme() != null)
{
resBoxColour = shader.findColour(seq.getCharAt(i),
i, seq);