mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 12:58:12 +00:00
LibGUI: Prevent key_down event from bubbling for Key_Up and Key_Down
This just corrects an oversight in EditingEngine where we do not properly signal "we handled this event" for Key_Up and Key_Down like we do for the other keys
This commit is contained in:
parent
296b76095f
commit
7b62e02bc3
1 changed files with 1 additions and 0 deletions
|
@ -106,6 +106,7 @@ bool EditingEngine::on_key(KeyEvent const& event)
|
|||
}
|
||||
|
||||
move_one_helper(event, direction);
|
||||
return true;
|
||||
}
|
||||
|
||||
if (event.key() == KeyCode::Key_Home) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue