Skip to content

Commit 04cb71b

Browse files
committed
Found The "Real Cause"
1 parent b204174 commit 04cb71b

File tree

3 files changed

+2
-13
lines changed

3 files changed

+2
-13
lines changed

CodeEdit/Features/NavigatorArea/ProjectNavigator/OutlineView/ProjectNavigatorViewController+NSOutlineViewDelegate.swift

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -181,17 +181,4 @@ extension ProjectNavigatorViewController: NSOutlineViewDelegate {
181181
}
182182
return ""
183183
}
184-
185-
func outlineView(_ outlineView: NSOutlineView, tintConfigurationForItem item: Any) -> NSTintConfiguration? {
186-
NSTintConfiguration(fixedColor: NSColor(name: nil, dynamicProvider: { appearance in
187-
switch appearance.name {
188-
case .darkAqua, .vibrantDark:
189-
.white
190-
case .aqua, .vibrantLight:
191-
.black
192-
default:
193-
.black
194-
}
195-
}))
196-
}
197184
}

CodeEdit/Features/NavigatorArea/ProjectNavigator/OutlineView/ProjectNavigatorViewController.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ final class ProjectNavigatorViewController: NSViewController {
7777
self.view = scrollView
7878

7979
self.outlineView = ProjectNavigatorNSOutlineView()
80+
self.outlineView.style = .inset
8081
self.outlineView.dataSource = self
8182
self.outlineView.delegate = self
8283
self.outlineView.autosaveExpandedItems = true

CodeEdit/Features/NavigatorArea/Views/NavigatorAreaView.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ struct NavigatorAreaView: View {
5050
viewModel.selectedTab?.bottomView(workspace: workspace)
5151
}
5252
)
53+
.listStyle(.inset)
5354
.environmentObject(workspace)
5455
.accessibilityElement(children: .contain)
5556
.accessibilityLabel("navigator")

0 commit comments

Comments
 (0)