Fix bug where emulated separator continually was added to the row

This commit is contained in:
Maurice Parker 2020-11-19 16:25:06 -06:00
parent 04736ded79
commit 33cd254dad

View File

@ -57,7 +57,7 @@ class TimelineTableRowView : NSTableRowView {
}
private func addSeparatorView() {
guard let cellView = cellView else { return }
guard let cellView = cellView, separator == nil else { return }
separator = NSView()
separator!.translatesAutoresizingMaskIntoConstraints = false
separator!.wantsLayer = true