fix gpui2

This commit is contained in:
Mikayla 2023-11-20 11:55:27 -08:00
parent 25ed7c57c1
commit 6985b70859
No known key found for this signature in database
3 changed files with 17 additions and 55 deletions

View file

@ -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
}),
)