mirror of
https://github.com/qvacua/vimr.git
synced 2024-12-25 14:52:19 +03:00
Do GUI things on main queue
This commit is contained in:
parent
4996f95c45
commit
2e5b1b3a2a
@ -56,6 +56,7 @@ extension NvimView: NSTouchBarDelegate, NSScrubberDataSource, NSScrubberDelegate
|
||||
func updateTouchBarCurrentBuffer() {
|
||||
self
|
||||
.allTabs()
|
||||
.observeOn(MainScheduler.instance)
|
||||
.subscribe(onSuccess: {
|
||||
self.tabsCache = $0
|
||||
|
||||
@ -73,6 +74,7 @@ extension NvimView: NSTouchBarDelegate, NSScrubberDataSource, NSScrubberDelegate
|
||||
func updateTouchBarTab() {
|
||||
self
|
||||
.allTabs()
|
||||
.observeOn(MainScheduler.instance)
|
||||
.subscribe(onSuccess: {
|
||||
self.tabsCache = $0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user