Fix bug where feed sometimes gets reset to realtime when scrolling

This commit is contained in:
William Casarin
2023-02-20 14:58:10 -08:00
parent 826fd1ef33
commit 647495dbc0

View File

@@ -29,7 +29,7 @@ struct TimelineView: View {
func handle_scroll(_ proxy: GeometryProxy) {
let offset = -proxy.frame(in: .named("scroll")).origin.y
guard offset != -0.0 else {
guard offset >= 0 else {
return
}
self.events.should_queue = offset > 0