Sources/AquaKit/Controls and Views/AquaDragHandle.swift
···11import AppKit
2233-/// This is an abstract superclass that draws nothing but handles drag functionality.
33+/// This is an abstract superclass that draws nothing but handles drag functionality.
44open class AquaDragHandle: NSControl {
55 public struct Drag {
66 public var initialLocation: NSPoint = .zero
···2121 .mouseMoved,
2222 .cursorUpdate,
2323 .activeInKeyWindow,
2424- .inVisibleRect,
2424+ .inVisibleRect
2525 ],
2626 owner: self,
2727 userInfo: nil
···4848 true
4949 }
5050}
5151-
+3-3
Sources/AquaKit/Controls and Views/AquaSplitView.swift
···44 override open var dividerColor: NSColor {
55 .aquaSeparatorColor
66 }
77-77+88 public override init(frame frameRect: NSRect) {
99 super.init(frame: frameRect)
1010 dividerStyle = .thin
1111 }
1212-1212+1313 override open func viewDidChangeEffectiveAppearance() {
1414 setNeedsDisplay(bounds)
1515 }
1616-1616+1717 public required init?(coder: NSCoder) {
1818 fatalError("init(coder:) has not been implemented")
1919 }
+4-4
Sources/AquaKit/Controls and Views/AquaSplitViewResizeHandle.swift
···2233open class AquaSplitViewResizeHandle: AquaDragHandle {
44 public override init(frame frameRect: NSRect) {
55- super.init(frame: frameRect )
66-55+ super.init(frame: frameRect)
66+77 translatesAutoresizingMaskIntoConstraints = false
88 NSLayoutConstraint.activate([
99 widthAnchor.constraint(equalToConstant: 16)
1010 ])
1111 }
1212-1212+1313 public required init?(coder: NSCoder) {
1414 fatalError("init(coder:) has not been implemented")
1515 }
1616-1616+1717 override open func cursorUpdate(with event: NSEvent) {
1818 NSCursor.columnResize(directions: [.all]).set()
1919 }
+1-1
Sources/AquaKit/Controls and Views/AquaWindowResizeHandle.swift
···2233open class AquaWindow: NSWindow {
44 public static var bottomBarThickness: CGFloat { 30.0 }
55-55+66 private var _showsToolbarButton: Bool = false
77 override open var showsToolbarButton: Bool {
88 get { _showsToolbarButton }