David Sehnal преди 6 години
родител
ревизия
a9c4c8996f
променени са 2 файла, в които са добавени 6 реда и са изтрити 0 реда
  1. 3 0
      src/mol-plugin/state/animation/manager.ts
  2. 3 0
      src/mol-plugin/state/animation/model.ts

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