mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 09:38:11 +00:00
LibGUI: Forward GlyphMapWidget Key_Tab events
Allows focus to be passed using the keyboard.
This commit is contained in:
parent
61d214eab1
commit
8d3f60c7ef
1 changed files with 5 additions and 0 deletions
|
@ -259,6 +259,11 @@ void GlyphMapWidget::doubleclick_event(MouseEvent& event)
|
|||
|
||||
void GlyphMapWidget::keydown_event(KeyEvent& event)
|
||||
{
|
||||
if (event.key() == KeyCode::Key_Tab) {
|
||||
AbstractScrollableWidget::keydown_event(event);
|
||||
return;
|
||||
}
|
||||
|
||||
int range_offset = m_active_range.first;
|
||||
|
||||
if (!event.ctrl() && !event.shift() && event.key() != KeyCode::Key_Delete) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue