Files
NetNewsWire/Mac/MainWindow/ColumnLayoutSplitView.swift
T
2026-11-07 16:47:52 -08:00

19 lines
551 B
Swift

//
// ColumnLayoutSplitView.swift
// NetNewsWire
//
// Created by Brent Simmons on 9/19/26.
// Copyright © 2026 Ranchero Software. All rights reserved.
//
import AppKit
/// The split between the timeline and the article view in column layout.
/// On macOS 26 it extends under the sidebar, so the divider is drawn in the visible part only — otherwise the dimple is off-center.
final class ColumnLayoutSplitView: MainWindowSplitView {
override func drawDivider(in rect: NSRect) {
super.drawDivider(in: rect.intersection(safeAreaRect))
}
}