diff --git a/Mac/MainWindow/Detail/DetailContainerView.swift b/Mac/MainWindow/Detail/DetailContainerView.swift index a33ee835b..ffc330b37 100644 --- a/Mac/MainWindow/Detail/DetailContainerView.swift +++ b/Mac/MainWindow/Detail/DetailContainerView.swift @@ -12,10 +12,6 @@ final class DetailContainerView: NSView { @IBOutlet var detailStatusBarView: DetailStatusBarView! - override var isOpaque: Bool { - return true - } - var contentViewConstraints: [NSLayoutConstraint]? var contentView: NSView? { @@ -39,9 +35,4 @@ final class DetailContainerView: NSView { } } } - - override func draw(_ dirtyRect: NSRect) { - NSColor.textBackgroundColor.setFill() - dirtyRect.fill() - } } diff --git a/Mac/MainWindow/Timeline/TimelineContainerView.swift b/Mac/MainWindow/Timeline/TimelineContainerView.swift index b24710675..e75475405 100644 --- a/Mac/MainWindow/Timeline/TimelineContainerView.swift +++ b/Mac/MainWindow/Timeline/TimelineContainerView.swift @@ -33,14 +33,5 @@ final class TimelineContainerView: NSView { } } } - - override var isOpaque: Bool { - return true - } - - override func draw(_ dirtyRect: NSRect) { - NSColor.textBackgroundColor.setFill() - dirtyRect.fill() - } }