Replace WindowContext::notify
with WindowContext::refresh
This commit is contained in:
parent
d0c101cb6e
commit
2923b71f83
11 changed files with 35 additions and 30 deletions
|
@ -584,7 +584,7 @@ impl TerminalElement {
|
|||
this.update(cx, |term, _| term.try_modifiers_change(&event.modifiers));
|
||||
|
||||
if handled {
|
||||
cx.notify();
|
||||
cx.refresh();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue