Browse Source

use auto preset

Sebastian Bittrich 3 năm trước cách đây
mục cha
commit
56859621a5
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/viewer/helpers/preset.ts

+ 1 - 1
src/viewer/helpers/preset.ts

@@ -270,7 +270,7 @@ export const RcsbPreset = TrajectoryHierarchyPresetProvider({
                 representation = await plugin.builders.structure.representation.applyPreset(structureProperties!, 'auto');
             }
         } if (p.kind === 'nakb') {
-            representation = await plugin.builders.structure.representation.applyPreset(structureProperties!, 'polymer-cartoon', { theme: { globalName: 'residue-name', focus: { name: 'residue-name' } } });
+            representation = await plugin.builders.structure.representation.applyPreset(structureProperties!, 'auto', { theme: { globalName: 'residue-name', focus: { name: 'residue-name' } } });
         } else {
             representation = await plugin.builders.structure.representation.applyPreset(structureProperties!, 'auto');
         }