|
|
@ -7022,8 +7022,9 @@ bool ImGui::InputTextEx(const char* label, char* buf, int buf_size, const ImVec2
|
|
|
|
if (g.IO.InputCharacters[0])
|
|
|
|
if (g.IO.InputCharacters[0])
|
|
|
|
{
|
|
|
|
{
|
|
|
|
// Process text input (before we check for Return because using some IME will effectively send a Return?)
|
|
|
|
// Process text input (before we check for Return because using some IME will effectively send a Return?)
|
|
|
|
for (int n = 0; n < IM_ARRAYSIZE(g.IO.InputCharacters) && g.IO.InputCharacters[n]; n++)
|
|
|
|
if (!is_ctrl_down && !is_alt_down)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
for (int n = 0; n < IM_ARRAYSIZE(g.IO.InputCharacters) && g.IO.InputCharacters[n]; n++)
|
|
|
|
if (unsigned int c = (unsigned int)g.IO.InputCharacters[n])
|
|
|
|
if (unsigned int c = (unsigned int)g.IO.InputCharacters[n])
|
|
|
|
{
|
|
|
|
{
|
|
|
|
// Insert character if they pass filtering
|
|
|
|
// Insert character if they pass filtering
|
|
|
|