feat: Add border-radius for window on linux

This commit is contained in:
MystiPanda
2024-03-13 13:58:29 +08:00
Unverified
parent df2f102d9e
commit 9b2c8fa25d
7 changed files with 21 additions and 11 deletions

View File

@@ -171,7 +171,7 @@ pub fn create_window(app_handle: &AppHandle) {
.title_bar_style(tauri::TitleBarStyle::Overlay)
.build();
#[cfg(target_os = "linux")]
let window = builder.decorations(true).transparent(false).build();
let window = builder.decorations(false).transparent(true).build();
match window {
Ok(win) => {