feat: Add border-radius for window on linux

This commit is contained in:
MystiPanda committed 2024-03-13 13:58:29 +08:00
1 parent df2f102d9e
commit 9b2c8fa25d
7 files changed
+21 -11

No files matched your search

+1 -1
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) => {