Comment-out the code that runs when timeline view becomes first responder. It fixed a bug, but introduced a new bug.

This commit is contained in:
Brent Simmons 2019-03-03 21:52:55 -08:00
parent 4c6d3807cb
commit 129759ba7f
1 changed files with 9 additions and 9 deletions

View File

@ -21,15 +21,15 @@ class TimelineTableView: NSTableView {
super.keyDown(with: event)
}
override func becomeFirstResponder() -> Bool {
if super.becomeFirstResponder() {
if selectedRow == -1 && numberOfRows > 0 {
rs_selectRowAndScrollToVisible(0)
}
return true
}
return false
}
// override func becomeFirstResponder() -> Bool {
// if super.becomeFirstResponder() {
// if selectedRow == -1 && numberOfRows > 0 {
// rs_selectRowAndScrollToVisible(0)
// }
// return true
// }
// return false
// }
// MARK: - NSView