mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-17 07:18:04 +08:00
fix animation
This commit is contained in:
@@ -79,15 +79,6 @@ struct EvaluationContext {
|
||||
export_config: Option<ExportConfig>,
|
||||
}
|
||||
|
||||
impl Default for NodeGraphExecutor {
|
||||
fn default() -> Self {
|
||||
Self {
|
||||
futures: Default::default(),
|
||||
runtime_io: NodeRuntimeIO::new(),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
impl NodeGraphExecutor {
|
||||
/// A local runtime is useful on threads since having global state causes flakes
|
||||
// #[cfg(test)]
|
||||
@@ -270,18 +261,6 @@ impl NodeGraphExecutor {
|
||||
}
|
||||
}
|
||||
|
||||
// pub enum AnimationState {
|
||||
// #[default]
|
||||
// Stopped,
|
||||
// Playing {
|
||||
// start: f64,
|
||||
// },
|
||||
// Paused {
|
||||
// start: f64,
|
||||
// pause_time: f64,
|
||||
// },
|
||||
// }
|
||||
|
||||
// Re-export for usage by tests in other modules
|
||||
// #[cfg(test)]
|
||||
// pub use test::Instrumented;
|
||||
|
||||
Reference in New Issue
Block a user