SDK/Console: Fix selection erase
This commit is contained in:
parent
dec857d807
commit
f2959641c0
|
|
@ -72,7 +72,7 @@ namespace Ndk
|
||||||
|
|
||||||
m_input->OnTextAreaKeyBackspace.Connect([](const AbstractTextAreaWidget* textArea, bool* ignoreDefaultAction)
|
m_input->OnTextAreaKeyBackspace.Connect([](const AbstractTextAreaWidget* textArea, bool* ignoreDefaultAction)
|
||||||
{
|
{
|
||||||
if (textArea->GetGlyphIndex() <= s_inputPrefixSize)
|
if (textArea->GetGlyphIndex() < s_inputPrefixSize)
|
||||||
*ignoreDefaultAction = true;
|
*ignoreDefaultAction = true;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue