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 : []) .redacted(reason: loading ? .placeholder : [])
.shimmer(loading) .shimmer(loading)
.disabled(loading) .disabled(loading)
/*
.background(GeometryReader { proxy -> Color in .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 return Color.clear
}) })
*/
} }
.buttonStyle(BorderlessButtonStyle()) .buttonStyle(BorderlessButtonStyle())
.coordinateSpace(name: "scroll") .coordinateSpace(name: "scroll")