mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-12-03 19:33:33 +01:00
1 parent
c70d833a5e
commit
6ef57bf7d6
9 files changed
+51
-47
No files matched your search
Vendored
+6
@@ -4257,6 +4257,12 @@ bool ImGui::InputTextEx(const char* label, const char* hint, char* buf, int buf_
|
||||
unsigned int c = (unsigned int)io.InputQueueCharacters[n];
|
||||
if (c == '\t') // Skip Tab, see above.
|
||||
continue;
|
||||
if (c == '\b')
|
||||
{
|
||||
state->OnKeyPressed(STB_TEXTEDIT_K_BACKSPACE);
|
||||
continue;
|
||||
}
|
||||
|
||||
if (InputTextFilterCharacter(&c, flags, callback, callback_user_data, ImGuiInputSource_Keyboard))
|
||||
state->OnKeyPressed((int)c);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user