Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
Merge remote-tracking branch 'origin/main' into pr-2707-merge
Richie McIlroy2e44f9c87f89
diff --cc apps/desktop-gpui/src/editor_clips.rsindex 422e8b98e,ac3a27315..51c4bfa52--- a/apps/desktop-gpui/src/editor_clips.rs+++ b/apps/desktop-gpui/src/editor_clips.rs@@@ -1000,21 -1064,9 +1042,18 @@@ impl EditorWindowlet group: SharedString = SharedString::from(format!("clip-card-{index}"));let probe = {let cell = self.clips.card_bounds.clone();+ let editor = cx.weak_entity();+ let start = segment.start;gpui::canvas(- move |bounds, _window, _cx| {+ move |bounds, window, cx| {- let mut slots = cell.borrow_mut();- if index < slots.len() {- slots[index] = Some(bounds);- }+ cell.borrow_mut().push(ClipCardBounds { index, bounds });+ if bounds.intersects(&window.content_mask().bounds) {+ editor+ .update(cx, |editor, cx| {+ editor.request_clip_thumbnail(thumb_key, start, cx);+ })+ .ok();+ }},|_, _, _, _| {},)