Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

feat(project): add gradient noise and animation config fields

Richie McIlroy342cb7cd68b6
diff --git a/crates/project/src/configuration.rs b/crates/project/src/configuration.rs
index f2f49fbea..db1a4ed40 100644
--- a/crates/project/src/configuration.rs
+++ b/crates/project/src/configuration.rs
@@ -41,6 +41,14 @@ pub enum BackgroundSource {
to: Color,
#[serde(default = "default_gradient_angle")]
angle: u16,
+ #[serde(default)]
+ noise_intensity: Option<f32>,
+ #[serde(default)]
+ noise_scale: Option<f32>,
+ #[serde(default)]
+ animated: Option<bool>,
+ #[serde(default)]
+ animation_speed: Option<f32>,
},
}