less animation in chat
Changelog-Changed: Don't animate scroll in chat view Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
@@ -52,7 +52,7 @@ struct EventDetailView: View {
|
|||||||
print("uncollapsing section at \(c.start) '\(ev.content.prefix(12))...'")
|
print("uncollapsing section at \(c.start) '\(ev.content.prefix(12))...'")
|
||||||
let start_id = ev.id
|
let start_id = ev.id
|
||||||
|
|
||||||
toggle_collapse_thread(scroller: scroller, id: start_id, animate: true, anchor: .top)
|
toggle_collapse_thread(scroller: scroller, id: start_id, animate: false, anchor: .top)
|
||||||
}
|
}
|
||||||
|
|
||||||
func CollapsedEventView(_ cev: CollapsedEvent, scroller: ScrollViewProxy) -> some View {
|
func CollapsedEventView(_ cev: CollapsedEvent, scroller: ScrollViewProxy) -> some View {
|
||||||
|
|||||||
Reference in New Issue
Block a user