Replace WindowContext::notify with WindowContext::refresh
This commit is contained in:
@@ -584,7 +584,7 @@ impl TerminalElement {
|
||||
this.update(cx, |term, _| term.try_modifiers_change(&event.modifiers));
|
||||
|
||||
if handled {
|
||||
cx.notify();
|
||||
cx.refresh();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user