Преглед на файлове

Fix docking-viewer presets

David Sehnal преди 4 години
родител
ревизия
295cb84cc8
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/examples/docking-viewer/viewport.tsx

+ 1 - 1
src/examples/docking-viewer/viewport.tsx

@@ -139,7 +139,7 @@ const PocketPreset = StructureRepresentationPresetProvider({
 
         const components = {
             ligand: await presetStaticComponent(plugin, structureCell, 'ligand'),
-            surroundings: await plugin.builders.structure.tryCreateComponentFromSelection(structureCell, ligandSurroundings, `selection`),
+            surroundings: await plugin.builders.structure.tryCreateComponentFromSelection(structureCell, ligandSurroundings, `surroundings`),
         };
 
         const { update, builder, typeParams } = StructureRepresentationPresetProvider.reprBuilder(plugin, params);