Handle view updates when following

Basic following now works. Editors' scroll positions
are their only replicated view state.
This commit is contained in:
Max Brunsfeld 2022-03-18 15:56:57 -07:00
parent e338da0271
commit 570c987455
4 changed files with 152 additions and 111 deletions

View file

@ -64,7 +64,7 @@ impl FollowableItem for Editor {
fn to_update_message(
&self,
event: &Self::Event,
cx: &AppContext,
_: &AppContext,
) -> Option<update_view::Variant> {
match event {
Event::ScrollPositionChanged => {