We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78a328c commit e08e482Copy full SHA for e08e482
CodeEdit/Features/SplitView/Views/SplitViewControllerView.swift
@@ -139,6 +139,8 @@ final class SplitViewController: NSSplitViewController {
139
}
140
141
override func splitView(_ splitView: NSSplitView, shouldHideDividerAt dividerIndex: Int) -> Bool {
142
+ // For some reason, AppKit _really_ wants to hide dividers when there's only one item (and no dividers)
143
+ // so we do this check for them.
144
guard items.count > 1 else { return false }
145
return super.splitView(splitView, shouldHideDividerAt: dividerIndex)
146
0 commit comments