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
cfe2735
..
d5784b0
100644
(file)
--- a/
src/jalview/renderer/seqfeatures/FeatureColourFinder.java
+++ b/
src/jalview/renderer/seqfeatures/FeatureColourFinder.java
@@
-20,6
+20,7
@@
*/
package jalview.renderer.seqfeatures;
*/
package jalview.renderer.seqfeatures;
+import jalview.api.AlignViewportI;
import jalview.api.FeatureRenderer;
import jalview.api.FeaturesDisplayedI;
import jalview.datamodel.SequenceI;
import jalview.api.FeatureRenderer;
import jalview.api.FeaturesDisplayedI;
import jalview.datamodel.SequenceI;
@@
-122,8
+123,16
@@
public class FeatureColourFinder
*/
boolean noFeaturesDisplayed()
{
*/
boolean noFeaturesDisplayed()
{
- if (featureRenderer == null
- || !featureRenderer.getViewport().isShowSequenceFeatures())
+ if (featureRenderer == null)
+ {
+ return true;
+ }
+ AlignViewportI av = featureRenderer.getViewport();
+ if (av.isShowComplementFeatures())
+ {
+ return false;
+ }
+ if (!av.isShowSequenceFeatures())
{
return true;
}
{
return true;
}