Fix: Issue#2

This commit is contained in:
DaZuo0122
2026-02-15 17:57:33 +08:00
parent bed7a052f3
commit fa508ced8c
2 changed files with 4 additions and 0 deletions

View File

@@ -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));
}

View File

@@ -16,6 +16,7 @@
"height": 416,
"decorations": false,
"transparent": true,
"shadow": false,
"alwaysOnTop": true,
"resizable": false
}