Prechádzať zdrojové kódy

fix missing rename

- forceInstanceTheme -> instanceGranularity
Alexander Rose 2 rokov pred
rodič
commit
f857ea6095
1 zmenil súbory, kde vykonal 2 pridanie a 2 odobranie
  1. 2 2
      src/extensions/cellpack/preset.ts

+ 2 - 2
src/extensions/cellpack/preset.ts

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