mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-28 11:29:25 +00:00
Autoscroll to newest cursor on cmd-d instead of fitting all selections
This commit is contained in:
parent
3ae5fc74c9
commit
3cfa2c65b3
1 changed files with 1 additions and 1 deletions
|
@ -3998,7 +3998,7 @@ impl Editor {
|
|||
state.stack.pop();
|
||||
}
|
||||
|
||||
self.update_selections(new_selections, Some(Autoscroll::Fit), cx);
|
||||
self.update_selections(new_selections, Some(Autoscroll::Newest), cx);
|
||||
if state.stack.len() > 1 {
|
||||
self.add_selections_state = Some(state);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue