HackStudio: Allow moving the selected widgets using the arrow keys

This is a nice complement to moving widgets with the mouse. :^)
This commit is contained in:
Andreas Kling
2019-11-10 22:40:58 +01:00
parent 567769eb2f
commit c8637e0206
7 changed files with 47 additions and 0 deletions

View File

@@ -68,3 +68,8 @@ void FormWidget::mousemove_event(GMouseEvent& event)
{
editor().tool().on_mousemove(event);
}
void FormWidget::keydown_event(GKeyEvent& event)
{
editor().tool().on_keydown(event);
}