mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-01-29 00:35:38 +08:00
refactor: remove macOS window decoration setting during window creation
This commit is contained in:
@@ -318,9 +318,6 @@ pub fn create_window(is_show: bool) -> bool {
|
|||||||
"异步窗口任务开始 (启动已标记完成)"
|
"异步窗口任务开始 (启动已标记完成)"
|
||||||
);
|
);
|
||||||
|
|
||||||
#[cfg(target_os = "macos")]
|
|
||||||
let _ = newly_created_window.set_decorations(false);
|
|
||||||
|
|
||||||
if is_show {
|
if is_show {
|
||||||
let window_clone = newly_created_window.clone();
|
let window_clone = newly_created_window.clone();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user