Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
coderabbit bits
Richie McIlroy5ccd19627a50
diff --git a/apps/desktop/src/routes/editor/context.ts b/apps/desktop/src/routes/editor/context.tsindex 1298c4ef9..dbec248bb 100644--- a/apps/desktop/src/routes/editor/context.ts+++ b/apps/desktop/src/routes/editor/context.ts@@ -108,7 +108,7 @@ export function serializeProjectConfiguration(...rest,background: {...backgroundRest,- roundingType: backgroundRoundingType,+ rounding_type: backgroundRoundingType,},camera: {...cameraRest,diff --git a/crates/project/src/configuration.rs b/crates/project/src/configuration.rsindex 9f5a96877..f6947b223 100644--- a/crates/project/src/configuration.rs+++ b/crates/project/src/configuration.rs@@ -408,7 +408,7 @@ pub enum CursorAnimationStyle {Custom,}-#[derive(Clone, Copy, Debug)]+#[derive(Type, Serialize, Deserialize, Clone, Copy, Debug)]pub struct CursorSmoothingPreset {pub tension: f32,pub mass: f32,diff --git a/crates/rendering/src/shaders/composite-video-frame.wgsl b/crates/rendering/src/shaders/composite-video-frame.wgslindex fa99cfae5..2e66d3ab2 100644--- a/crates/rendering/src/shaders/composite-video-frame.wgsl+++ b/crates/rendering/src/shaders/composite-video-frame.wgsl@@ -275,7 +275,7 @@ fn apply_rounded_corners(current_color: vec4<f32>, target_uv: vec2<f32>) -> vec4let distance = corner_norm - uniforms.rounding_px;if distance >= -distance_blur / 2.0 {- return vec4<f32>(0.0);+ return vec4<f32>(0.0);}}diff --git a/crates/rendering/src/shaders/cursor.wgsl b/crates/rendering/src/shaders/cursor.wgslindex 412bc3f3f..2b058c537 100644--- a/crates/rendering/src/shaders/cursor.wgsl+++ b/crates/rendering/src/shaders/cursor.wgsl@@ -73,10 +73,10 @@ fn fs_main(input: VertexOutput) -> @location(0) vec4<f32> {let direction = motion_vec / motion_len;let max_offset = motion_len;- for (var i = 0; i < num_samples; i++) {+ for (var i = 1; i < num_samples; i++) {let t = f32(i) / f32(num_samples - 1);let eased = smoothstep(0.0, 1.0, t);- let offset = direction * max_offset * eased;+ let offset = direction * (max_offset * blur_strength) * eased;let sample_uv = input.uv + offset / uniforms.output_size.xy;// Sample with bilinear filtering