mirror of
https://github.com/RGBCube/serenity
synced 2025-05-16 23:25:06 +00:00
LibGUI: Change GUI::KeyEvent::key() type to KeyCode
...instead of a plain int. Yay for some type safety.
This commit is contained in:
parent
abfcd7b1b8
commit
fce49b3e32
5 changed files with 11 additions and 5 deletions
|
@ -147,6 +147,8 @@ void CursorTool::on_keydown(GUI::KeyEvent& event)
|
|||
case Key_Right:
|
||||
move_selected_widgets_by(m_editor.form_widget().grid_size(), 0);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue