Merge branch 'main' into drag-and-drop

This commit is contained in:
K Simmons 2022-08-25 16:32:11 -07:00
commit 8591c3f46d
12 changed files with 367 additions and 219 deletions

View file

@ -828,7 +828,7 @@ impl Element for TerminalElement {
let origin = bounds.origin() + vec2f(layout.size.cell_width, 0.);
if let Some(terminal) = self.terminal.upgrade(cx.app) {
terminal.update(cx.app, |term, _| term.scroll(e, origin));
terminal.update(cx.app, |term, _| term.scroll_wheel(e, origin));
cx.notify();
}
})