mirror of
https://github.com/beefytech/Beef.git
synced 2025-07-04 15:26:00 +02:00
Better word wrapping for hoverwatch
This commit is contained in:
parent
9afa24e5d7
commit
76d997fca7
2 changed files with 6 additions and 1 deletions
|
@ -887,7 +887,7 @@ namespace Beefy.gfx
|
|||
if (fontMetrics != null)
|
||||
fontMetrics.mLineCount++;
|
||||
|
||||
drawHeight += Draw(g, StringView(workingStr, 0, checkIdx), useX, useY, justification, width, stringEndMode, fontMetrics);
|
||||
drawHeight += Draw(g, StringView(workingStr, 0, checkIdx), useX, useY, justification, width, .Truncate, fontMetrics);
|
||||
useY += GetLineSpacing();
|
||||
workingStr.Adjust(checkIdx);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue