1
Fork 0
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:
Timothy Slater 2022-12-09 08:58:42 -06:00 committed by Sam Atkins
parent 296b76095f
commit 7b62e02bc3

View file

@ -106,6 +106,7 @@ bool EditingEngine::on_key(KeyEvent const& event)
}
move_one_helper(event, direction);
return true;
}
if (event.key() == KeyCode::Key_Home) {