|
@@ -204,9 +204,10 @@ namespace InteractivityManager {
|
|
|
}
|
|
|
|
|
|
selectOnly(current: Representation.Loci, applyGranularity = true) {
|
|
|
- this.deselectAll();
|
|
|
const normalized = this.normalizedLoci(current, applyGranularity);
|
|
|
if (StructureElement.Loci.is(normalized.loci)) {
|
|
|
+ // only deselect for the structure of the given loci
|
|
|
+ this.deselect({ loci: Structure.toStructureElementLoci(normalized.loci.structure), repr: normalized.repr }, false);
|
|
|
this.sel.modify('set', normalized.loci);
|
|
|
}
|
|
|
this.mark(normalized, MarkerAction.Select);
|