Browse Source

animation TODOs

David Sehnal 6 years ago
parent
commit
a9c4c8996f

+ 3 - 0
src/mol-plugin/state/animation/manager.ts

@@ -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[] = [];

+ 3 - 0
src/mol-plugin/state/animation/model.ts

@@ -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 },