commit 51a58360f97c18b003abb4e06434382ca585bc66
parent fe025532e8e05be2ac41d408f4dcec8f0c4295cf
Author: William Casarin <jb55@jb55.com>
Date: Tue, 20 Jun 2023 15:29:22 +0200
debug slow scroll
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/damus/Views/TimelineView.swift b/damus/Views/TimelineView.swift
@@ -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")