Skip to content
Snippets Groups Projects
Commit 44b2d00a authored by Marcelo Querino Lima Alfonso's avatar Marcelo Querino Lima Alfonso
Browse files

fixed case where no atom circle is available

parent b210283d
No related branches found
No related tags found
2 merge requests!5Refactored code for diplaying aggregated ligand interactions,!4Added features for aggregated ligand interaction view and interactivity with heat map
......@@ -345,7 +345,6 @@ class Depiction {
}
});
this.parent.dispatchEvent(e);
}
/**
......
......@@ -128,6 +128,8 @@ class Visualization {
const atom = this.depiction.atoms.filter(x => x.value >0 && x.name === atomName);
if (atom.length > 0) {
this.depiction.atomMouseEnterEventHandler(atom[0]);
} else {
this.depiction.atomMouseLeaveEventHandler();
}
}
......
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