File tree Expand file tree Collapse file tree
CodeEdit/Features/Editor/Views Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ struct EditorAreaView: View {
1818
1919 @AppSettings ( \. general. dimEditorsWithoutFocus)
2020 var dimEditorsWithoutFocus
21-
21+
2222 @AppSettings ( \. theme. useThemeBackground)
2323 var useThemeBackground
2424
@@ -111,7 +111,7 @@ struct EditorAreaView: View {
111111 } set: { newFile in
112112 codeFile = { [ weak newFile] in newFile }
113113 }
114-
114+
115115 VStack ( spacing: 0 ) {
116116 if topSafeArea > 0 {
117117 Rectangle ( )
@@ -143,8 +143,14 @@ struct EditorAreaView: View {
143143 }
144144 }
145145 . environment ( \. isActiveEditor, editor == editorManager. activeEditor)
146- // .background(EffectView(.headerView))
147- . background ( GlassEffectView ( ) )
146+ // .background(EffectView(.headerView, blendingMode: .withinWindow).ignoresSafeArea())
147+ . if ( . tahoe) {
148+ if #available( macOS 26 , * ) {
149+ $0. background (
150+ EffectView ( . headerView, blendingMode: . withinWindow, emphasized: true ) . ignoresSafeArea ( )
151+ )
152+ }
153+ }
148154 }
149155 }
150156 . focused ( $focus, equals: editor)
You can’t perform that action at this time.
0 commit comments