diff --git a/SDK/src/NDK/Console.cpp b/SDK/src/NDK/Console.cpp index b1d302d68..8d3992868 100644 --- a/SDK/src/NDK/Console.cpp +++ b/SDK/src/NDK/Console.cpp @@ -68,7 +68,7 @@ namespace Ndk m_input->OnTextAreaKeyBackspace.Connect([](const TextAreaWidget* textArea, bool* ignoreDefaultAction) { - if (textArea->GetGlyphUnderCursor() <= s_inputPrefixSize) + if (textArea->GetGlyphIndex() <= s_inputPrefixSize) *ignoreDefaultAction = true; });