mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 04:47:34 +00:00
LibWeb: Fire "keyup" events as well :^)
This was easy, now that we have KeyboardEvent.
This commit is contained in:
parent
554c344ffe
commit
0af0ee4293
10 changed files with 28 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue