Added scroll-to-edge.
This commit is contained in:
parent
01e3f118b2
commit
77670cbc7c
4 changed files with 59 additions and 28 deletions
|
@ -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();
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue