|
@@ -28,7 +28,7 @@ export const CellpackPackingPreset = StructureRepresentationPresetProvider({
|
|
const reprProps = {
|
|
const reprProps = {
|
|
ignoreHydrogens: true,
|
|
ignoreHydrogens: true,
|
|
traceOnly: params.traceOnly,
|
|
traceOnly: params.traceOnly,
|
|
- forceInstanceTheme: true,
|
|
|
|
|
|
+ instanceGranularity: true,
|
|
};
|
|
};
|
|
const components = {
|
|
const components = {
|
|
polymer: await presetStaticComponent(plugin, structureCell, 'polymer')
|
|
polymer: await presetStaticComponent(plugin, structureCell, 'polymer')
|
|
@@ -72,7 +72,7 @@ export const CellpackMembranePreset = StructureRepresentationPresetProvider({
|
|
|
|
|
|
const reprProps = {
|
|
const reprProps = {
|
|
ignoreHydrogens: true,
|
|
ignoreHydrogens: true,
|
|
- forceInstanceTheme: true,
|
|
|
|
|
|
+ instanceGranularity: true,
|
|
};
|
|
};
|
|
const components = {
|
|
const components = {
|
|
membrane: await presetStaticComponent(plugin, structureCell, 'all', { label: 'Membrane' })
|
|
membrane: await presetStaticComponent(plugin, structureCell, 'all', { label: 'Membrane' })
|