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

add missing updateFocusRepr to atomicDetail preset

- fixes #280
parent 4592510a
No related branches found
No related tags found
No related merge requests found
...@@ -379,6 +379,8 @@ const atomicDetail = StructureRepresentationPresetProvider({ ...@@ -379,6 +379,8 @@ const atomicDetail = StructureRepresentationPresetProvider({
} }
await update.commit({ revertOnError: true }); await update.commit({ revertOnError: true });
await updateFocusRepr(plugin, structure, params.theme?.focus?.name ?? color, params.theme?.focus?.params ?? colorParams);
return { components, representations }; return { components, representations };
} }
}); });
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment