Hide cursor on next-unread. Fix #431.
This commit is contained in:
parent
cea52e99c0
commit
4db22b60c7
|
@ -202,6 +202,8 @@ class MainWindowController : NSWindowController, NSUserInterfaceValidations {
|
|||
guard let timelineViewController = timelineViewController, let sidebarViewController = sidebarViewController else {
|
||||
return
|
||||
}
|
||||
|
||||
NSCursor.setHiddenUntilMouseMoves(true)
|
||||
|
||||
if timelineViewController.canGoToNextUnread() {
|
||||
goToNextUnreadInTimeline()
|
||||
|
|
|
@ -192,6 +192,7 @@ import RSCore
|
|||
return
|
||||
}
|
||||
|
||||
NSCursor.setHiddenUntilMouseMoves(true)
|
||||
outlineView.selectRowIndexes(IndexSet([row]), byExtendingSelection: false)
|
||||
}
|
||||
|
||||
|
|
|
@ -280,6 +280,7 @@ class TimelineViewController: NSViewController, UndoableCommandRunner {
|
|||
guard let ix = indexOfNextUnreadArticle() else {
|
||||
return
|
||||
}
|
||||
NSCursor.setHiddenUntilMouseMoves(true)
|
||||
tableView.rs_selectRow(ix)
|
||||
tableView.scrollTo(row: ix)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue