Commit 3cce14e4 authored by Florian Blasius's avatar Florian Blasius 🤘

key up fix

parent 18400809
Pipeline #9062 passed with stage
in 3 minutes and 12 seconds
......@@ -268,7 +268,7 @@ impl Window {
}) as Box<dyn FnMut(_)>);
document()
.unwrap()
.add_event_listener_with_callback("keydown", closure.as_ref().unchecked_ref())
.add_event_listener_with_callback("keyup", closure.as_ref().unchecked_ref())
.unwrap();
closure.forget();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment