From f08121119e53463c3bd1529cbe3e4c6f426215bb Mon Sep 17 00:00:00 2001
From: Alexander Rose <alex.rose@rcsb.org>
Date: Fri, 8 Mar 2019 16:25:32 -0800
Subject: [PATCH] set labels non-pickable

---
 src/mol-plugin/util/structure-labels.ts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/mol-plugin/util/structure-labels.ts b/src/mol-plugin/util/structure-labels.ts
index e2057a51e..af3b335de 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;
 }
 
-- 
GitLab