mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-12-01 09:50:16 +00:00
Hide cursor on next-unread. Fix #431.
This commit is contained in:
1 parent
cea52e99c0
commit
4db22b60c7
3 files changed
+4
No files matched your search
@@ -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)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user