Merge pull request #459 from vincode-io/issue-201

Enabled sidebar to scroll to current selection when using the read ne…
This commit is contained in:
Brent Simmons 2018-09-14 14:06:39 -07:00 committed by GitHub
commit 40b49c0553
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -194,6 +194,8 @@ import RSCore
NSCursor.setHiddenUntilMouseMoves(true) NSCursor.setHiddenUntilMouseMoves(true)
outlineView.selectRowIndexes(IndexSet([row]), byExtendingSelection: false) outlineView.selectRowIndexes(IndexSet([row]), byExtendingSelection: false)
outlineView.scrollTo(row: row)
} }
func focus() { func focus() {