mirror of
https://github.com/dscyrescotti/Memola.git
synced 2026-05-10 09:50:04 +02:00
feat: update tool bar background color
This commit is contained in:
@@ -52,7 +52,7 @@ struct DashboardView: View {
|
||||
}
|
||||
.animation(.easeIn, value: application.memoObject)
|
||||
.toolbar(application.memoObject == nil ? .visible : .hidden, for: .windowToolbar)
|
||||
.toolbarBackground(application.memoObject == nil ? .clear : Color(nsColor: .windowBackgroundColor), for: .windowToolbar)
|
||||
.toolbarBackground(Color(nsColor: .windowBackgroundColor), for: .windowToolbar)
|
||||
.onChange(of: columnVisibility) { oldValue, newValue in
|
||||
application.changeSidebarVisibility(newValue == .all ? .shown : .hidden)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user