mirror of
https://github.com/RGBCube/serenity
synced 2025-07-07 23:27:37 +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
|
@ -316,6 +316,8 @@ void HtmlView::keydown_event(GUI::KeyEvent& event)
|
|||
case Key_PageUp:
|
||||
vertical_scrollbar().set_value(vertical_scrollbar().value() - frame_inner_rect().height());
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue