Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
feat(project): add track field to mask and text segments
Richie McIlroy525d5d1dd124
diff --git a/crates/project/src/configuration.rs b/crates/project/src/configuration.rsindex db1a4ed40..612bb691f 100644--- a/crates/project/src/configuration.rs+++ b/crates/project/src/configuration.rs@@ -669,6 +669,8 @@ pub struct MaskKeyframes {pub struct MaskSegment {pub start: f64,pub end: f64,+ #[serde(default)]+ pub track: u32,#[serde(default = "MaskSegment::default_enabled")]pub enabled: bool,pub mask_type: MaskKind,@@ -707,6 +709,8 @@ impl MaskSegment {pub struct TextSegment {pub start: f64,pub end: f64,+ #[serde(default)]+ pub track: u32,#[serde(default = "TextSegment::default_enabled")]pub enabled: bool,#[serde(default = "TextSegment::default_content")]