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-4059 Tidy getting the namespace, and save the namespace in the Jalview instance...
[jalview.git]
/
src
/
jalview
/
renderer
/
seqfeatures
/
FeatureColourFinder.java
diff --git
a/src/jalview/renderer/seqfeatures/FeatureColourFinder.java
b/src/jalview/renderer/seqfeatures/FeatureColourFinder.java
index
52090e1
..
d5784b0
100644
(file)
--- a/
src/jalview/renderer/seqfeatures/FeatureColourFinder.java
+++ b/
src/jalview/renderer/seqfeatures/FeatureColourFinder.java
@@
-123,12
+123,16
@@
public class FeatureColourFinder
*/
boolean noFeaturesDisplayed()
{
*/
boolean noFeaturesDisplayed()
{
+ if (featureRenderer == null)
+ {
+ return true;
+ }
AlignViewportI av = featureRenderer.getViewport();
if (av.isShowComplementFeatures())
{
return false;
}
AlignViewportI av = featureRenderer.getViewport();
if (av.isShowComplementFeatures())
{
return false;
}
- if (featureRenderer == null || !av.isShowSequenceFeatures())
+ if (!av.isShowSequenceFeatures())
{
return true;
}
{
return true;
}