parent
e3b593efbd
commit
c4083b9b63
28 changed files with 103 additions and 104 deletions
|
@ -472,7 +472,7 @@ impl<'a, T: 'static> Context<'a, T> {
|
|||
|
||||
let view = self.weak_entity();
|
||||
inner(
|
||||
&mut self.keystroke_observers,
|
||||
&self.keystroke_observers,
|
||||
Box::new(move |event, window, cx| {
|
||||
if let Some(view) = view.upgrade() {
|
||||
view.update(cx, |view, cx| f(view, event, window, cx));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue