Skip to content

Commit 7de7d4e

Browse files
committed
Fixed a text wrap issue.
1 parent 9b588b4 commit 7de7d4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Assets/Scripts/Core/Text/TextField.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -844,7 +844,7 @@ void BuildLines2()
844844
{
845845
newLine.charCount = wordChars;
846846
newLine.width = line.width - wordStart;
847-
newLine.height = line.height;
847+
newLine.height = line.textHeight;
848848
newLine.textHeight = line.textHeight;
849849

850850
line.charCount -= wordChars;

0 commit comments

Comments
 (0)