mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 21:59:07 +00:00
LibGUI: Flesh out focus implementation and more GTextBox work.
This commit is contained in:
parent
d72575d196
commit
de2423de5f
Notes:
sideshowbarker
2024-07-19 15:56:21 +09:00
Author: https://github.com/awesomekling
Commit: de2423de5f
10 changed files with 54 additions and 27 deletions
|
@ -107,8 +107,8 @@ void GTextBox::keydown_event(GKeyEvent& event)
|
|||
case KeyCode::Key_Backspace:
|
||||
return handle_backspace();
|
||||
case KeyCode::Key_Return:
|
||||
if (onReturnPressed)
|
||||
onReturnPressed(*this);
|
||||
if (on_return_pressed)
|
||||
on_return_pressed(*this);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue