* When a text box is focused, move the write head at the end.

This commit is contained in:
iProgramInCpp
2023-07-31 11:42:11 +03:00
parent 2631c262e6
commit a00007803f

View File

@@ -148,6 +148,7 @@ void TextInputBox::setFocused(bool b)
{
m_lastFlashed = getTimeMs();
m_bCursorOn = true;
m_insertHead = int(m_text.size());
}
}