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

show circles when setting contact types

parent 4f860017
No related branches found
No related tags found
1 merge request!5Refactored code for diplaying aggregated ligand interactions
......@@ -37,7 +37,9 @@ class pdbLigandEnv extends LitElement {
let prevCType = this._contactType + "";
this._contactType = value;
if (prevCType.length > 0) {
this.renderLigandEnv();
if(this.display){
this.display.showWeights(value)
}
}
}
get contactType() { return this._contactType; }
......@@ -109,12 +111,12 @@ class pdbLigandEnv extends LitElement {
this.display.ligandIntxData = IntxData;
}
set atomWeights(contactType) {
if (!contactType || !this.display.ligandIntxData){
return;
}
this.display.showWeights(contactType);
}
// set atomWeights(contactType) {
// if (!contactType || !this.display.ligandIntxData){
// return;
// }
// this.display.showWeights(contactType);
// }
set highlightSubstructure(substructure) {
if (!this.display) {
......
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