mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:57:45 +00:00
SpaceAnalyzer: Ignore unhandled keydown events
This makes Action shortcuts work again. :^)
This commit is contained in:
parent
97e157708f
commit
7c17e73c7f
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…
Add table
Add a link
Reference in a new issue