Jelajahi Sumber

hide colorMode for cartoon repr

Alexander Rose 1 tahun lalu
induk
melakukan
10d9120d37
1 mengubah file dengan 1 tambahan dan 0 penghapusan
  1. 1 0
      src/mol-repr/structure/representation/cartoon.ts

+ 1 - 0
src/mol-repr/structure/representation/cartoon.ts

@@ -47,6 +47,7 @@ export const CartoonParams = {
     sizeFactor: PD.Numeric(0.2, { min: 0, max: 10, step: 0.01 }),
     visuals: PD.MultiSelect(['polymer-trace', 'polymer-gap', 'nucleotide-ring', 'nucleotide-atomic-ring-fill', 'nucleotide-atomic-bond', 'nucleotide-atomic-element'], PD.objectToOptions(CartoonVisuals)),
     bumpFrequency: PD.Numeric(2, { min: 0, max: 10, step: 0.1 }, BaseGeometry.ShadingCategory),
+    colorMode: PD.Select('default', PD.arrayToOptions(['default', 'interpolate'] as const), { ...BaseGeometry.ShadingCategory, isHidden: true }),
 };
 
 export type CartoonParams = typeof CartoonParams