Hide cursor on next-unread. Fix #431.

This commit is contained in:
Brent Simmons 2018-09-04 21:18:59 -07:00
parent cea52e99c0
commit 4db22b60c7
3 changed files with 4 additions and 0 deletions

View File

@ -203,6 +203,8 @@ class MainWindowController : NSWindowController, NSUserInterfaceValidations {
return
}
NSCursor.setHiddenUntilMouseMoves(true)
if timelineViewController.canGoToNextUnread() {
goToNextUnreadInTimeline()
}

View File

@ -192,6 +192,7 @@ import RSCore
return
}
NSCursor.setHiddenUntilMouseMoves(true)
outlineView.selectRowIndexes(IndexSet([row]), byExtendingSelection: false)
}

View File

@ -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)
}