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

feat: add color to substructure highlight

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