diff --git a/crates/editor/src/items.rs b/crates/editor/src/items.rs index 36a48b293788ab22f509f941c7b2a66591614d9a..11ea07ff5c83fbde36dca67b5a352711bbbc9e64 100644 --- a/crates/editor/src/items.rs +++ b/crates/editor/src/items.rs @@ -277,7 +277,7 @@ impl FollowableItem for Editor { .extend(ids.iter().map(ExcerptId::to_proto)); true } - EditorEvent::ScrollPositionChanged { .. } => { + EditorEvent::ScrollPositionChanged { autoscroll, .. } if !autoscroll => { let scroll_anchor = self.scroll_manager.anchor(); update.scroll_top_anchor = Some(serialize_anchor(&scroll_anchor.anchor)); update.scroll_x = scroll_anchor.offset.x;