Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
Molstar
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Michal Malý
Molstar
Commits
a9c4c899
Commit
a9c4c899
authored
6 years ago
by
David Sehnal
Browse files
Options
Downloads
Patches
Plain Diff
animation TODOs
parent
c03a35ae
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/mol-plugin/state/animation/manager.ts
+3
-0
3 additions, 0 deletions
src/mol-plugin/state/animation/manager.ts
src/mol-plugin/state/animation/model.ts
+3
-0
3 additions, 0 deletions
src/mol-plugin/state/animation/model.ts
with
6 additions
and
0 deletions
src/mol-plugin/state/animation/manager.ts
+
3
−
0
View file @
a9c4c899
...
...
@@ -11,6 +11,9 @@ import { ParamDefinition as PD } from 'mol-util/param-definition';
export
{
PluginAnimationManager
}
// TODO: pause functionality (this needs to reset if the state tree changes)
// TODO: handle unregistered animations on state restore
class
PluginAnimationManager
extends
PluginComponent
<
PluginAnimationManager
.
State
>
{
private
map
=
new
Map
<
string
,
PluginStateAnimation
>
();
private
animations
:
PluginStateAnimation
[]
=
[];
...
...
This diff is collapsed.
Click to expand it.
src/mol-plugin/state/animation/model.ts
+
3
−
0
View file @
a9c4c899
...
...
@@ -9,6 +9,9 @@ import { PluginContext } from 'mol-plugin/context';
export
{
PluginStateAnimation
}
// TODO: helpers for building animations (once more animations are added)
// for example "composite animation"
interface
PluginStateAnimation
<
P
extends
PD
.
Params
=
any
,
S
=
any
>
{
name
:
string
,
readonly
display
:
{
readonly
name
:
string
,
readonly
description
?:
string
},
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment