Commit 85345d1d authored by marc's avatar marc
Browse files

model.js : changeColorMethod does not require a full update

parent 009e060a
...@@ -2272,7 +2272,8 @@ changeAlleleNotation: function(alleleNotation) { ...@@ -2272,7 +2272,8 @@ changeAlleleNotation: function(alleleNotation) {
* */ * */
changeColorMethod: function (colorM) { changeColorMethod: function (colorM) {
this.colorMethod = colorM; this.colorMethod = colorM;
this.update(); var i = 0;
this.updateElemStyle(Array.from(Array(this.clones.length), () => i++));
}, },
/** /**
......
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