Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
Fix move of borrowed
Ilyad59b8ff138c4
diff --git a/apps/desktop/src-tauri/src/main.rs b/apps/desktop/src-tauri/src/main.rsindex 2fe381799..0443081c8 100644--- a/apps/desktop/src-tauri/src/main.rs+++ b/apps/desktop/src-tauri/src/main.rs@@ -209,9 +209,10 @@ fn main() {.make_transparent().expect("Failed to set transparency on main webview");+ let win_clone = main_window.clone();main_window.on_window_event(move |event| match event {tauri::WindowEvent::ThemeChanged(_theme) => {- let _ = main_window.set_traffic_lights_inset(inset_x, inset_y);+ let _ = win_clone.set_traffic_lights_inset(inset_x, inset_y);}_ => {}})