Fix RichTextBox not drawing the last character

This commit is contained in:
2024-05-18 00:00:20 +03:00
parent 2cdd0ff644
commit 58351d1989

View File

@@ -197,7 +197,7 @@ namespace FlaxEngine.GUI
textBlock.Range = new TextRange
{
StartIndex = start + line.FirstCharIndex,
EndIndex = start + line.LastCharIndex,
EndIndex = start + line.LastCharIndex + 1,
};
if (i != 0)
{