mirror of
https://github.com/CrazyJasonwell/clash-verge-rev.git
synced 2026-10-19 16:25:41 +08:00
feat: adjust macOS window style
This commit is contained in:
1 parent
9249059cb7
commit
c830ea676f
2 files changed
+17
-1
No files matched your search
@@ -94,7 +94,12 @@ pub fn create_window(app_handle: &AppHandle) {
|
||||
}
|
||||
|
||||
#[cfg(target_os = "macos")]
|
||||
crate::log_err!(builder.decorations(true).inner_size(800.0, 642.0).build());
|
||||
crate::log_err!(builder
|
||||
.decorations(true)
|
||||
.inner_size(800.0, 642.0)
|
||||
.hidden_title(true)
|
||||
.title_bar_style(tauri::TitleBarStyle::Overlay)
|
||||
.build());
|
||||
|
||||
#[cfg(target_os = "linux")]
|
||||
crate::log_err!(builder
|
||||
|
||||
Reference in new issue
Block a user