Skip to content
Snippets Groups Projects
Commit f0812111 authored by Alexander Rose's avatar Alexander Rose
Browse files

set labels non-pickable

parent db6b2ed7
No related branches found
No related tags found
No related merge requests found
...@@ -38,6 +38,7 @@ export async function getLabelRepresentation(ctx: RuntimeContext, structure: Str ...@@ -38,6 +38,7 @@ export async function getLabelRepresentation(ctx: RuntimeContext, structure: Str
const repr = prev || ShapeRepresentation(getLabelsShape, Text.Utils); const repr = prev || ShapeRepresentation(getLabelsShape, Text.Utils);
const data = getLabelData(structure, params); const data = getLabelData(structure, params);
await repr.createOrUpdate(params.options, data).runInContext(ctx); await repr.createOrUpdate(params.options, data).runInContext(ctx);
repr.setState({ pickable: false })
return repr; return repr;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment