Skip to content
Snippets Groups Projects
Commit f975311c authored by David Sehnal's avatar David Sehnal
Browse files

mol-plugin: tweak camera zoom

parent 1456721c
No related branches found
No related tags found
No related merge requests found
...@@ -24,7 +24,7 @@ export const FocusLociOnSelect = PluginBehavior.create<{ minRadius: number, extr ...@@ -24,7 +24,7 @@ export const FocusLociOnSelect = PluginBehavior.create<{ minRadius: number, extr
} }
}, },
params: () => ({ params: () => ({
minRadius: ParamDefinition.Numeric(10, { min: 1, max: 50, step: 1 }), minRadius: ParamDefinition.Numeric(8, { min: 1, max: 50, step: 1 }),
extraRadius: ParamDefinition.Numeric(4, { min: 1, max: 50, step: 1 }, { description: 'Value added to the boundning sphere radius of the Loci.' }) extraRadius: ParamDefinition.Numeric(4, { min: 1, max: 50, step: 1 }, { description: 'Value added to the boundning sphere radius of the Loci.' })
}), }),
display: { name: 'Focus Loci on Select' } display: { name: 'Focus Loci on Select' }
......
...@@ -57,7 +57,7 @@ export const DefaultPluginSpec: PluginSpec = { ...@@ -57,7 +57,7 @@ export const DefaultPluginSpec: PluginSpec = {
PluginSpec.Behavior(PluginBehaviors.Representation.HighlightLoci), PluginSpec.Behavior(PluginBehaviors.Representation.HighlightLoci),
PluginSpec.Behavior(PluginBehaviors.Representation.SelectLoci), PluginSpec.Behavior(PluginBehaviors.Representation.SelectLoci),
PluginSpec.Behavior(PluginBehaviors.Representation.DefaultLociLabelProvider), PluginSpec.Behavior(PluginBehaviors.Representation.DefaultLociLabelProvider),
PluginSpec.Behavior(PluginBehaviors.Camera.FocusLociOnSelect, { minRadius: 20, extraRadius: 4 }), PluginSpec.Behavior(PluginBehaviors.Camera.FocusLociOnSelect, { minRadius: 8, extraRadius: 4 }),
// PluginSpec.Behavior(PluginBehaviors.Labels.SceneLabels), // PluginSpec.Behavior(PluginBehaviors.Labels.SceneLabels),
PluginSpec.Behavior(PluginBehaviors.CustomProps.PDBeStructureQualityReport, { autoAttach: true }), PluginSpec.Behavior(PluginBehaviors.CustomProps.PDBeStructureQualityReport, { autoAttach: true }),
PluginSpec.Behavior(PluginBehaviors.CustomProps.RCSBAssemblySymmetry, { autoAttach: true }), PluginSpec.Behavior(PluginBehaviors.CustomProps.RCSBAssemblySymmetry, { autoAttach: true }),
......
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