Skip to content
Snippets Groups Projects
Commit 0b9ecb76 authored by Alexander Rose's avatar Alexander Rose
Browse files

tweaked ball&stick default size

parent b8de1de3
No related branches found
No related tags found
No related merge requests found
......@@ -48,7 +48,7 @@ export class StructureRepresentationInteractionBehavior extends PluginBehavior.W
private createResVisualParams(s: Structure) {
return StructureRepresentation3DHelpers.createParams(this.plugin, s, {
repr: BuiltInStructureRepresentations['ball-and-stick'],
size: [BuiltInSizeThemes.uniform, () => ({ value: 0.85 } )]
size: BuiltInSizeThemes.physical
});
}
......@@ -56,7 +56,7 @@ export class StructureRepresentationInteractionBehavior extends PluginBehavior.W
return StructureRepresentation3DHelpers.createParams(this.plugin, s, {
repr: BuiltInStructureRepresentations['ball-and-stick'],
color: [BuiltInColorThemes['element-symbol'], () => ({ saturation: -3, lightness: 0.6 })],
size: [BuiltInSizeThemes.uniform, () => ({ value: 0.33 } )]
size: [BuiltInSizeThemes.uniform, () => ({ value: 0.66 } )]
});
}
......
......@@ -29,7 +29,7 @@ export const BallAndStickParams = {
...IntraUnitLinkParams,
...InterUnitLinkParams,
unitKinds: PD.MultiSelect<UnitKind>(['atomic'], UnitKindOptions),
sizeFactor: PD.Numeric(0.2, { min: 0.01, max: 10, step: 0.01 }),
sizeFactor: PD.Numeric(0.15, { min: 0.01, max: 10, step: 0.01 }),
sizeAspectRatio: PD.Numeric(2/3, { min: 0.01, max: 3, step: 0.01 }),
visuals: PD.MultiSelect<BallAndStickVisualName>(['element-sphere', 'intra-link', 'inter-link'], BallAndStickVisualOptions),
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment