1
0
mirror of git://jb55.com/damus synced 2024-09-20 03:57:06 +00:00

debug slow scroll

This commit is contained in:
William Casarin 2023-06-20 15:29:22 +02:00
parent fe025532e8
commit 51a58360f9

View File

@ -30,12 +30,12 @@ struct TimelineView: View {
.redacted(reason: loading ? .placeholder : [])
.shimmer(loading)
.disabled(loading)
/*
.background(GeometryReader { proxy -> Color in
DispatchQueue.main.async {
handle_scroll_queue(proxy, queue: self.events)
}
handle_scroll_queue(proxy, queue: self.events)
return Color.clear
})
*/
}
.buttonStyle(BorderlessButtonStyle())
.coordinateSpace(name: "scroll")