Skip to content
Snippets Groups Projects
Commit a44748c7 authored by Ibrahim Roshan Kunnakkattu's avatar Ibrahim Roshan Kunnakkattu
Browse files

revert: remove setting color in highlight substructure

parent 0f2e9a6a
No related branches found
No related tags found
1 merge request!5Refactored code for diplaying aggregated ligand interactions
......@@ -118,13 +118,12 @@ class pdbLigandEnv extends LitElement {
// this.display.showWeights(contactType);
// }
set highlightSubstructure(substructure, color) {
set highlightSubstructure(substructure) {
if (!this.display) {
return;
}
this.substructureHighlight = substructure;
this.highlightColor = color;
this.display.addLigandHighlight(this.substructureHighlight, this.highlightColor);
this.display.addLigandHighlight(this.substructureHighlight);
}
......
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