fix gpui2
This commit is contained in:
parent
25ed7c57c1
commit
6985b70859
3 changed files with 17 additions and 55 deletions
|
@ -307,7 +307,7 @@ mod test {
|
|||
.key_context("parent")
|
||||
.on_key_down(cx.listener(|this, _, _| this.saw_key_down = true))
|
||||
.on_action(
|
||||
cx.callback(|this: &mut TestView, _: &TestAction, _| {
|
||||
cx.listener(|this: &mut TestView, _: &TestAction, _| {
|
||||
this.saw_action = true
|
||||
}),
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue