1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 15:17:36 +00:00

LibGUI: Only reset GlyphMapWidget selection on Escape

and when using unmodified arrows.
This commit is contained in:
thankyouverycool 2022-12-17 13:12:15 -05:00 committed by Andreas Kling
parent 4c81fbc8c4
commit 673afffd5a
2 changed files with 10 additions and 1 deletions

View file

@ -73,6 +73,7 @@ public:
int rows() const { return m_rows; }
int columns() const { return m_columns; }
Function<void()> on_escape_pressed;
Function<void(int)> on_active_glyph_changed;
Function<void(int)> on_glyph_double_clicked;
Function<void(ContextMenuEvent&)> on_context_menu_request;