diff --git a/crates/sprimo-tauri/src/main.rs b/crates/sprimo-tauri/src/main.rs index 2666c1d..abd90ee 100644 --- a/crates/sprimo-tauri/src/main.rs +++ b/crates/sprimo-tauri/src/main.rs @@ -464,6 +464,9 @@ fn main() -> Result<(), AppError> { if let Ok(mut guard) = tray_state_holder.lock() { *guard = Some(tray_state.clone()); } + if let Some(window) = app.get_webview_window(MAIN_WINDOW_LABEL) { + let _ = window.set_shadow(false); + } if let Ok(snapshot) = runtime_core.snapshot().read() { let _ = app_handle.emit(EVENT_RUNTIME_SNAPSHOT, to_ui_snapshot(&snapshot)); } diff --git a/crates/sprimo-tauri/tauri.conf.json b/crates/sprimo-tauri/tauri.conf.json index 215d032..a36be94 100644 --- a/crates/sprimo-tauri/tauri.conf.json +++ b/crates/sprimo-tauri/tauri.conf.json @@ -16,6 +16,7 @@ "height": 416, "decorations": false, "transparent": true, + "shadow": false, "alwaysOnTop": true, "resizable": false }