Use fit instead of center for Agent following (#30228)
Makes it easier to review the Agent edits since more of the previous edits will be visible on screen. Release Notes: - N/A
This commit is contained in:
parent
e6165798ea
commit
35ed225a08
@ -372,7 +372,7 @@ impl FollowableItem for Editor {
|
||||
};
|
||||
drop(buffer);
|
||||
self.set_selections_from_remote(vec![selection], None, window, cx);
|
||||
self.request_autoscroll_remotely(Autoscroll::center(), cx);
|
||||
self.request_autoscroll_remotely(Autoscroll::fit(), cx);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user