Преглед на файлове

Unify top window chrome with app surface and keep the sidebar divider reaching the top edge.

Co-authored-by: Cursor <cursoragent@cursor.com>
AhtashamShahzad1 преди 1 месец
родител
ревизия
9b35b72148
променени са 2 файла, в които са добавени 1 реда и са изтрити 3 реда
  1. 0 2
      gramora/App/GramoraApp.swift
  2. 1 1
      gramora/Views/MainView.swift

+ 0 - 2
gramora/App/GramoraApp.swift

@@ -9,9 +9,7 @@ struct GramoraApp: App {
                 .initialWindowSize(width: AppTheme.windowWidth, height: AppTheme.windowHeight)
                 .configureWindowChrome()
                 .preferredColorScheme(.light)
-                .lightWindowToolbarBackground()
         }
         .windowStyle(.hiddenTitleBar)
-        .windowToolbarStyle(.unifiedCompact(showsTitle: false))
     }
 }

+ 1 - 1
gramora/Views/MainView.swift

@@ -12,7 +12,7 @@ struct MainView: View {
                 .fill(AppTheme.border)
                 .frame(width: 1)
                 .frame(maxHeight: .infinity)
-                .ignoresSafeArea(edges: .vertical)
+                .ignoresSafeArea(edges: .top)
 
             ZStack {
                 BackgroundDecorations()