Fix drawing single character text format

This commit is contained in:
Wojciech Figat
2022-08-04 14:42:52 +02:00
parent 142d81065a
commit 4c280ef015
2 changed files with 4 additions and 4 deletions

View File

@@ -165,7 +165,7 @@ namespace FlaxEngine.GUI
Range = new TextRange
{
StartIndex = tag.StartPosition,
EndIndex = tag.StartPosition,
EndIndex = tag.StartPosition - 1,
},
Style = context.StyleStack.Peek(),
Bounds = new Rectangle(context.Caret, new Float2(64.0f)),