Build: Use in-tree imgui

Snapshot was taken at commit 5b9d197b7d
This commit is contained in:
Connor McLaughlin authored and refractionpcsx2 committed 2022-09-16 10:15:28 +01:00
1 parent c70d833a5e
commit 6ef57bf7d6
9 files changed
+51 -47

No files matched your search

+6
View File
@@ -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);
}