diff --git a/src/apps/rednatco/index.tsx b/src/apps/rednatco/index.tsx index a86b753222010fb5018fe5482ff83453e75a6fa2..d8f6b2c0f4ada2ee836aaf77ab0ecc9c5337fd9b 100644 --- a/src/apps/rednatco/index.tsx +++ b/src/apps/rednatco/index.tsx @@ -379,7 +379,15 @@ class ReDNATCOMspViewer { return { type: { name: 'confal-pyramids', params: { ...typeParams, alpha: transparent ? 0.5 : 1.0 } }, - colorTheme: { name: 'confal-pyramids', params: colors } + colorTheme: { + name: 'confal-pyramids', + params: { + colors: { + name: 'custom', + params: colors, + }, + }, + }, }; } @@ -479,7 +487,15 @@ class ReDNATCOMspViewer { StateTransforms.Representation.StructureRepresentation3D, old => ({ ...old, - colorTheme: { name: 'confal-pyramids', params: display.conformerColors ?? NtCColors.Conformers }, + colorTheme: { + name: 'confal-pyramids', + params: { + colors: { + name: 'custom', + params: display.conformerColors ?? NtCColors.Conformers, + }, + }, + }, }) );