mirror of
https://github.com/CrazyJasonwell/clash-verge-rev.git
synced 2026-10-19 20:35:41 +08:00
feat: Add border-radius for window on linux
This commit is contained in:
1 parent
df2f102d9e
commit
9b2c8fa25d
7 files changed
+21
-11
No files matched your search
@@ -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) => {
|
||||
|
||||
Reference in new issue
Block a user