Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

Merge feat/recording-window-only into feat/gpui-window-arrange-focus

Richie McIlroy981d474da738
diff --cc apps/desktop-gpui/src/picker_probe.rs
index 389ef2c4b,f29c763ea..9393fb543
--- a/apps/desktop-gpui/src/picker_probe.rs
+++ b/apps/desktop-gpui/src/picker_probe.rs
@@@ -57,11 -70,10 +71,13 @@@ pub fn run(main: WindowHandle<MainWindo
}
});
sleep(cx, 800).await;
- modes.push(cx.update(|cx| probe_mode(label, cx)));
+ let mut mode = cx.update(|cx| probe_mode(label, cx));
+ mode["overlayInactiveBeforeActivation"] = inactive_before.into();
+ modes.push(mode);
screenshot(&output, label, cx).await;
+ if kind == TargetType::Window {
+ window_arrangement = Some(probe_window_arrangement(&output, cx).await);
+ }
cx.update(app_windows::dismiss_target_overlays);
sleep(cx, 400).await;
}