diff --git a/src/mol-plugin-state/builder/structure/representation-preset.ts b/src/mol-plugin-state/builder/structure/representation-preset.ts index de9e8caf73a6b543e37c17dc5c0f7b4cc47dbdf0..6984111236fdc6a20a7e7e6542ded10ebbe4113d 100644 --- a/src/mol-plugin-state/builder/structure/representation-preset.ts +++ b/src/mol-plugin-state/builder/structure/representation-preset.ts @@ -379,6 +379,8 @@ const atomicDetail = StructureRepresentationPresetProvider({ } await update.commit({ revertOnError: true }); + await updateFocusRepr(plugin, structure, params.theme?.focus?.name ?? color, params.theme?.focus?.params ?? colorParams); + return { components, representations }; } });