Autoscroll to newest selection when adding it via the cursor
This commit is contained in:
1 parent
4de2b45b79
commit
4a29ea7da8
1 file changed
+1
-1
@@ -1582,7 +1582,7 @@ impl Editor {
|
||||
}
|
||||
}
|
||||
|
||||
self.change_selections(Some(Autoscroll::Fit), cx, |s| {
|
||||
self.change_selections(Some(Autoscroll::Newest), cx, |s| {
|
||||
if !add {
|
||||
s.clear_disjoint();
|
||||
} else if click_count > 1 {
|
||||
|
||||
Reference in new issue
Block a user