Skip to content

Commit 25f0bfb

Browse files
Merge pull request #1370 from CapSoftware/smoothing-motion-blur
Studio Mode movement, motion blur and styling overhaul
2 parents 3cfb332 + 2f53c14 commit 25f0bfb

File tree

29 files changed

+1658
-346
lines changed

29 files changed

+1658
-346
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/desktop/src-tauri/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cap-desktop"
3-
version = "0.3.82"
3+
version = "0.3.83"
44
description = "Beautiful screen recordings, owned by you."
55
authors = ["you"]
66
edition = "2024"

apps/desktop/src-tauri/src/recording.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1090,6 +1090,7 @@ fn generate_zoom_segments_from_clicks_impl(
10901090
const MOVEMENT_WINDOW_SECONDS: f64 = 1.2;
10911091
const MOVEMENT_EVENT_DISTANCE_THRESHOLD: f64 = 0.025;
10921092
const MOVEMENT_WINDOW_DISTANCE_THRESHOLD: f64 = 0.1;
1093+
const AUTO_ZOOM_AMOUNT: f64 = 1.5;
10931094

10941095
if max_duration <= 0.0 {
10951096
return Vec::new();
@@ -1227,7 +1228,7 @@ fn generate_zoom_segments_from_clicks_impl(
12271228
Some(ZoomSegment {
12281229
start,
12291230
end,
1230-
amount: 2.0,
1231+
amount: AUTO_ZOOM_AMOUNT,
12311232
mode: ZoomMode::Auto,
12321233
})
12331234
})

0 commit comments

Comments
 (0)