diff --git a/src/mol-plugin/util/structure-labels.ts b/src/mol-plugin/util/structure-labels.ts index e2057a51e522d6a499f96492357f962847ac4bd2..af3b335de97a4acf11cf66241e6736800de73812 100644 --- a/src/mol-plugin/util/structure-labels.ts +++ b/src/mol-plugin/util/structure-labels.ts @@ -38,6 +38,7 @@ export async function getLabelRepresentation(ctx: RuntimeContext, structure: Str const repr = prev || ShapeRepresentation(getLabelsShape, Text.Utils); const data = getLabelData(structure, params); await repr.createOrUpdate(params.options, data).runInContext(ctx); + repr.setState({ pickable: false }) return repr; }