Fix text box shift not working when selection start is at the text length.
This commit is contained in:
@@ -742,7 +742,7 @@ namespace FlaxEngine.GUI
|
||||
{
|
||||
SetSelection(SelectionRight);
|
||||
}
|
||||
else if (SelectionRight < TextLength)
|
||||
else if (SelectionRight < TextLength || (_selectionEnd < _selectionStart && _selectionStart == TextLength))
|
||||
{
|
||||
int position;
|
||||
if (ctrl)
|
||||
|
||||
Reference in New Issue
Block a user