From 20c9d2cc414398d6f15bcd938b0b7c78e8c4a1f3 Mon Sep 17 00:00:00 2001 From: Alexander Rose <alexander.rose@weirdbyte.de> Date: Sat, 18 Dec 2021 14:21:47 -0800 Subject: [PATCH] enable aromaticBonds by default --- CHANGELOG.md | 3 ++- src/mol-repr/structure/visual/util/bond.ts | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2a282be00..5bf08469f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ Note that since we don't clearly distinguish between a public and private interf - Enable temporal multi-sampling by default - Fix flickering during marking with camera at rest +- Enable ``aromaticBonds`` in structure representations by default ## [v3.0.0-dev.5] - 2021-12-16 @@ -37,7 +38,7 @@ Note that since we don't clearly distinguish between a public and private interf - Add multiple lights support (with color, intensity, and direction parameters) - [Breaking] Add per-object material rendering properties - - ``SimpleSettingsParams.lighting.renderStyle`` and ``RendererParams.style`` were removed + - ``SimpleSettingsParams.lighting.renderStyle`` and ``RendererParams.style`` were removed - Add substance theme with per-group material rendering properties - ``StructureComponentManager.Options`` state saving support - ``ParamDefinition.Group.presets`` support diff --git a/src/mol-repr/structure/visual/util/bond.ts b/src/mol-repr/structure/visual/util/bond.ts index d2fb94a77..6a2bd9c0d 100644 --- a/src/mol-repr/structure/visual/util/bond.ts +++ b/src/mol-repr/structure/visual/util/bond.ts @@ -19,7 +19,7 @@ export const BondParams = { includeTypes: PD.MultiSelect(ObjectKeys(BondType.Names), PD.objectToOptions(BondType.Names)), excludeTypes: PD.MultiSelect([] as BondType.Names[], PD.objectToOptions(BondType.Names)), ignoreHydrogens: PD.Boolean(false), - aromaticBonds: PD.Boolean(false, { description: 'Display aromatic bonds with dashes' }), + aromaticBonds: PD.Boolean(true, { description: 'Display aromatic bonds with dashes' }), multipleBonds: PD.Select('symmetric', PD.arrayToOptions(['off', 'symmetric', 'offset'] as const)), }; export const DefaultBondProps = PD.getDefaultValues(BondParams); -- GitLab