Capture all text input when typing faster than rendering speed, and add Roboto license

This commit is contained in:
Yousef Khadadeh 2025-10-12 10:17:08 +03:00
parent 0cc326bcc9
commit 8511cae7ab
2 changed files with 94 additions and 1 deletions

View file

@ -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);