Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
fix(desktop): use get_webview_panel for panel retrieval
Richie McIlroy388839f20af6
diff --git a/apps/desktop/src-tauri/src/windows.rs b/apps/desktop/src-tauri/src/windows.rsindex fcd894e28..3daf51d05 100644--- a/apps/desktop/src-tauri/src/windows.rs+++ b/apps/desktop/src-tauri/src/windows.rs@@ -774,11 +774,12 @@ impl ShowCapWindow {use crate::panel_manager::is_window_handle_valid;if is_window_handle_valid(&window) {+ let label = window.label().to_string();app.run_on_main_thread({- let window = window.clone();+ let app = app.clone();move || {- use crate::panel_manager::try_to_panel;- if let Ok(panel) = try_to_panel(&window) {+ use tauri_nspanel::ManagerExt;+ if let Ok(panel) = app.get_webview_panel(&label) {panel.order_front_regardless();panel.show();}