Remove some unneeded drawing. This makes resizing the timeline faster.

This commit is contained in:
Brent Simmons 2019-07-27 15:44:13 -07:00
parent f824be2f16
commit a41f7d8e68
2 changed files with 0 additions and 18 deletions

View File

@ -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()
}
}

View File

@ -33,14 +33,5 @@ final class TimelineContainerView: NSView {
}
}
}
override var isOpaque: Bool {
return true
}
override func draw(_ dirtyRect: NSRect) {
NSColor.textBackgroundColor.setFill()
dirtyRect.fill()
}
}