fixed scrolling and dragging now
This commit is contained in:
parent
77670cbc7c
commit
fa10b44673
2 changed files with 48 additions and 40 deletions
|
@ -830,7 +830,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();
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue