Skip to content

Commit 1cfe4a3

Browse files
authored
Merge branch 'CapSoftware:main' into custom-default-project-name
2 parents 56996e2 + 25f0bfb commit 1cfe4a3

29 files changed

Lines changed: 1658 additions & 346 deletions

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
@@ -1205,6 +1205,7 @@ fn generate_zoom_segments_from_clicks_impl(
12051205
const MOVEMENT_WINDOW_SECONDS: f64 = 1.2;
12061206
const MOVEMENT_EVENT_DISTANCE_THRESHOLD: f64 = 0.025;
12071207
const MOVEMENT_WINDOW_DISTANCE_THRESHOLD: f64 = 0.1;
1208+
const AUTO_ZOOM_AMOUNT: f64 = 1.5;
12081209

12091210
if max_duration <= 0.0 {
12101211
return Vec::new();
@@ -1342,7 +1343,7 @@ fn generate_zoom_segments_from_clicks_impl(
13421343
Some(ZoomSegment {
13431344
start,
13441345
end,
1345-
amount: 2.0,
1346+
amount: AUTO_ZOOM_AMOUNT,
13461347
mode: ZoomMode::Auto,
13471348
})
13481349
})

0 commit comments

Comments
 (0)