Coalesce more rebuild commands to make the unread count items appear more smoothly.
This commit is contained in:
parent
45bae1cd58
commit
202ee57697
|
@ -24,7 +24,7 @@ protocol SidebarDelegate: class {
|
||||||
|
|
||||||
weak var delegate: SidebarDelegate?
|
weak var delegate: SidebarDelegate?
|
||||||
|
|
||||||
private let rebuildTreeAndRestoreSelectionQueue = CoalescingQueue(name: "Rebuild Tree Queue", interval: 0.5)
|
private let rebuildTreeAndRestoreSelectionQueue = CoalescingQueue(name: "Rebuild Tree Queue", interval: 1.0)
|
||||||
let treeControllerDelegate = WebFeedTreeControllerDelegate()
|
let treeControllerDelegate = WebFeedTreeControllerDelegate()
|
||||||
lazy var treeController: TreeController = {
|
lazy var treeController: TreeController = {
|
||||||
return TreeController(delegate: treeControllerDelegate)
|
return TreeController(delegate: treeControllerDelegate)
|
||||||
|
|
Loading…
Reference in New Issue