Fix HUD window controls

This commit is contained in:
lenn
2026-05-26 14:33:51 +08:00
parent 39840f469f
commit 0812142359
3 changed files with 6 additions and 10 deletions

View File

@@ -35,6 +35,6 @@ pub async fn win_close(
.await
.map_err(|error| error.to_string())?;
app.exit(0);
Ok(())
main_window(&app)?.close().map_err(|error| error.to_string())
}