Capture all text input when typing faster than rendering speed, and add Roboto license
This commit is contained in:
parent
0cc326bcc9
commit
8511cae7ab
2 changed files with 94 additions and 1 deletions
|
|
@ -684,7 +684,7 @@ SDL_AppResult SDL_AppEvent(void *appstate, SDL_Event *event) {
|
|||
mS.m->input.backend_key_up_update(event->key);
|
||||
break;
|
||||
case SDL_EVENT_TEXT_INPUT:
|
||||
mS.m->input.text.newInput = event->text.text;
|
||||
mS.m->input.text.newInput += event->text.text;
|
||||
break;
|
||||
case SDL_EVENT_DROP_FILE:
|
||||
mS.m->window.scale = SDL_GetWindowPixelDensity(mS.window);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue