fix(settings): 调整系统式设置布局并修正应用图标留白
This commit is contained in:
@@ -31,9 +31,6 @@ struct SettingsWindowLifecycle: NSViewRepresentable {
|
||||
tokens.removeAll()
|
||||
guard let window else { return }
|
||||
window.title = title
|
||||
window.titlebarAppearsTransparent = true
|
||||
window.isOpaque = false
|
||||
window.backgroundColor = .clear
|
||||
schedulePresentation()
|
||||
tokens.append(NotificationCenter.default.addObserver(forName: NSApplication.didBecomeActiveNotification,
|
||||
object: NSApp, queue: .main) { [weak self] _ in
|
||||
|
||||
Reference in New Issue
Block a user