Added scroll-to-edge.

This commit is contained in:
Mikayla Maki 2022-08-22 18:24:58 -07:00
parent 01e3f118b2
commit 77670cbc7c
4 changed files with 59 additions and 28 deletions

View file

@ -457,7 +457,7 @@ impl TerminalElement {
if cx.is_parent_view_focused() {
if let Some(conn_handle) = connection.upgrade(cx.app) {
conn_handle.update(cx.app, |terminal, cx| {
terminal.mouse_drag(event, origin);
terminal.mouse_drag(event, origin, visible_bounds);
cx.notify();
})
}