Merge pull request #672 from zed-industries/fix-unfollowing-on-edit
Automatically unfollow leader only for edits that originate from the follower editor
This commit is contained in:
commit
ccc276da7a
11 changed files with 563 additions and 463 deletions
File diff suppressed because it is too large
Load diff
|
@ -198,7 +198,7 @@ impl FollowableItem for Editor {
|
|||
|
||||
fn should_unfollow_on_event(event: &Self::Event, _: &AppContext) -> bool {
|
||||
match event {
|
||||
Event::Edited { local } => *local,
|
||||
Event::Edited => true,
|
||||
Event::SelectionsChanged { local } => *local,
|
||||
Event::ScrollPositionChanged { local } => *local,
|
||||
_ => false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue