Handle view updates when following
Basic following now works. Editors' scroll positions are their only replicated view state.
This commit is contained in:
parent
e338da0271
commit
570c987455
4 changed files with 152 additions and 111 deletions
|
@ -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 => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue