graphite2 / editor /src /messages /animation /animation_message.rs
openfree's picture
Deploy from GitHub repository
2409829 verified
raw
history blame contribute delete
426 Bytes
use crate::messages::prelude::*;
use super::animation_message_handler::AnimationTimeMode;
#[impl_message(Message, Animation)]
#[derive(PartialEq, Clone, Debug, serde::Serialize, serde::Deserialize)]
pub enum AnimationMessage {
ToggleLivePreview,
EnableLivePreview,
DisableLivePreview,
RestartAnimation,
SetFrameIndex(f64),
SetTime(f64),
UpdateTime,
IncrementFrameCounter,
SetAnimationTimeMode(AnimationTimeMode),
}