Commit b99abe03 authored by flothoni's avatar flothoni

model.js; add an update of semgent first_clone at model.unselect call

link to #2041
parent efd7c546
...@@ -950,6 +950,7 @@ changeAlleleNotation: function(alleleNotation) { ...@@ -950,6 +950,7 @@ changeAlleleNotation: function(alleleNotation) {
this.orderedSelectedClones.splice(index, 1); this.orderedSelectedClones.splice(index, 1);
this.clone(cloneID).select = false; this.clone(cloneID).select = false;
this.updateElemStyle([cloneID]); this.updateElemStyle([cloneID]);
segment.set_first_clone(this.orderedSelectedClones[0])
} }
console.log("orderedSelectedClones: " + this.orderedSelectedClones.join(",")); console.log("orderedSelectedClones: " + this.orderedSelectedClones.join(","));
}, },
......
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