Преглед изворни кода

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 пре 6 дана
родитељ
комит
698f501e05
1 измењених фајлова са 1 додато и 1 уклоњено
  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