Commit 0a16fb76 authored by Mikaël Salson's avatar Mikaël Salson

model.js: Updating element style includes updating the color

See #3975
parent 8f1ebc82
Pipeline #92045 passed with stages
in 6 minutes and 5 seconds
......@@ -1204,7 +1204,11 @@ changeAlleleNotation: function(alleleNotation) {
* @param {integer[]} - list - array of clone index
* */
updateElemStyle: function (list) {
for (var i = 0; i < this.view.length; i++) {
for (var i = 0; i < list.length; i++) {
this.clone(list[i]).updateColor();
this.clone(list[i]).updateCloneTagIcon();
}
for (i = 0; i < this.view.length; i++) {
this.view[i].updateElemStyle(list);
}
},
......
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