Get rid of maxInterval from CoalescingQueue because it didn’t actually work right and isn’t probably needed.

This commit is contained in:
Brent Simmons
2024-06-16 13:02:16 -07:00
parent 9227924f4e
commit 64fc1867c4
6 changed files with 19 additions and 15 deletions

View File

@@ -65,7 +65,7 @@ final class WebViewController: UIViewController {
private(set) var article: Article?
let scrollPositionQueue = CoalescingQueue(name: "Article Scroll Position", interval: 0.3, maxInterval: 0.3)
let scrollPositionQueue = CoalescingQueue(name: "Article Scroll Position", interval: 0.3)
var windowScrollY = 0
private var restoreWindowScrollY: Int?