mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-29 11:00:29 +00:00
SpaceAnalyzer: Ignore unhandled keydown events
This makes Action shortcuts work again. :^)
This commit is contained in:
parent
97e157708f
commit
7c17e73c7f
Notes:
sideshowbarker
2024-07-17 03:11:50 +09:00
Author: https://github.com/AtkinsSJ Commit: https://github.com/SerenityOS/serenity/commit/7c17e73c7f Pull-request: https://github.com/SerenityOS/serenity/pull/16494 Reviewed-by: https://github.com/linusg ✅
1 changed files with 2 additions and 0 deletions
|
@ -331,6 +331,8 @@ void TreeMapWidget::keydown_event(GUI::KeyEvent& event)
|
|||
set_viewpoint(m_viewpoint == 0 ? m_path.size() : m_viewpoint - 1);
|
||||
else if (event.key() == KeyCode::Key_Right)
|
||||
set_viewpoint(m_viewpoint == m_path.size() ? 0 : m_viewpoint + 1);
|
||||
else
|
||||
event.ignore();
|
||||
}
|
||||
|
||||
void TreeMapWidget::mousewheel_event(GUI::MouseEvent& event)
|
||||
|
|
Loading…
Reference in a new issue