Handle view updates when following
Basic following now works. Editors' scroll positions are their only replicated view state.
This commit is contained in:
@@ -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 => {
|
||||
|
||||
Reference in New Issue
Block a user