LibWeb: Fire "keyup" events as well :^)

This was easy, now that we have KeyboardEvent.
This commit is contained in:
Andreas Kling 2021-09-28 15:39:35 +02:00
commit 0af0ee4293
Notes: sideshowbarker 2024-07-18 03:22:27 +09:00
10 changed files with 28 additions and 0 deletions

View file

@ -81,4 +81,9 @@ bool Page::handle_keydown(KeyCode key, unsigned modifiers, u32 code_point)
return focused_context().event_handler().handle_keydown(key, modifiers, code_point);
}
bool Page::handle_keyup(KeyCode key, unsigned modifiers, u32 code_point)
{
return focused_context().event_handler().handle_keyup(key, modifiers, code_point);
}
}