Explorar el Código

Unify home sidebar and top bar chrome colors.

This makes the left navigation background use the same shared chrome color as the top bar to keep the home header/sidebar visual treatment consistent.

Made-with: Cursor
huzaifahayat12 hace 6 días
padre
commit
698f501e05
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      zoom_app/ViewController.swift

+ 1 - 1
zoom_app/ViewController.swift

@@ -967,7 +967,7 @@ class ViewController: NSViewController {
967 967
     private func makeSidebar(items: [String], selected: String, style: SidebarStyle = .login) -> NSView {
968 968
         let sidebar = NSView()
969 969
         sidebar.wantsLayer = true
970
-        sidebar.layer?.backgroundColor = (style == .home ? NSColor.white.withAlphaComponent(0.03) : sidebarBackground).cgColor
970
+        sidebar.layer?.backgroundColor = (style == .home ? chromeUnifiedBackground : sidebarBackground).cgColor
971 971
 
972 972
         let stack = NSStackView()
973 973
         stack.orientation = .vertical