Fix bug where emulated separator continually was added to the row
This commit is contained in:
parent
04736ded79
commit
33cd254dad
@ -57,7 +57,7 @@ class TimelineTableRowView : NSTableRowView {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private func addSeparatorView() {
|
private func addSeparatorView() {
|
||||||
guard let cellView = cellView else { return }
|
guard let cellView = cellView, separator == nil else { return }
|
||||||
separator = NSView()
|
separator = NSView()
|
||||||
separator!.translatesAutoresizingMaskIntoConstraints = false
|
separator!.translatesAutoresizingMaskIntoConstraints = false
|
||||||
separator!.wantsLayer = true
|
separator!.wantsLayer = true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user