Commit 0c43bd73 authored by flothoni's avatar flothoni
Browse files

clone.js; add a field true_color

Thie field allow to get the color that a clone should get if it is not currently last selection.
link ot #3689
parent 7eab549f
......@@ -965,10 +965,9 @@ Clone.prototype = {
*
* */
updateColor: function () {
var allele;
if (this.m.focus == this.index){
this.color = "";
}else if (this.m.colorMethod == "abundance") {
if (this.m.colorMethod == "abundance") {
var size = this.getSize()
if (this.getCluster().length===0){ size = this.getSequenceSize() }
if (size === 0){
......@@ -1008,6 +1007,11 @@ Clone.prototype = {
}else{
this.color = "";
}
this.true_color = this.color
if (this.m.focus == this.index){
this.color = "";
}
},
/**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment