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:
parent
4c6d3807cb
commit
129759ba7f
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue