From dcc9781b7ab7ad9f4b6dc52d38741b44e145609c Mon Sep 17 00:00:00 2001 From: David Sehnal <david.sehnal@gmail.com> Date: Wed, 6 Mar 2019 20:58:31 +0100 Subject: [PATCH] mol-plugin: tweaked label in ModelFromTrajectory --- src/mol-plugin/state/transforms/model.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mol-plugin/state/transforms/model.ts b/src/mol-plugin/state/transforms/model.ts index fcb8235cc..7cdfaa2a4 100644 --- a/src/mol-plugin/state/transforms/model.ts +++ b/src/mol-plugin/state/transforms/model.ts @@ -150,7 +150,7 @@ const ModelFromTrajectory = PluginStateTransform.BuiltIn({ const model = a.data[params.modelIndex]; const props = a.data.length === 1 ? { label: `${model.label}` } - : { label: `${model.label}:${model.modelNum}`, description: `Model ${model.modelNum} of ${a.data.length}` }; + : { label: `${model.label}:${model.modelNum}`, description: `Model ${params.modelIndex + 1} of ${a.data.length}` }; return new SO.Molecule.Model(model, props); } }); -- GitLab