mirror of
https://github.com/dscyrescotti/Memola.git
synced 2026-11-13 12:23:31 +01:00
feat: update tool bar background color
This commit is contained in:
1 parent
9322a3ee2e
commit
ae91b69f88
1 file changed
+1
-1
@@ -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