Fixed not setting text drawer max size properly

This commit is contained in:
Sasha Koshka
2023-01-12 18:00:36 -05:00
parent 5eb3067a34
commit 1f3e925433
2 changed files with 9 additions and 2 deletions

View File

@@ -261,6 +261,7 @@ func (drawer *TextDrawer) recalculate () {
if drawer.wrap {
drawer.layoutBounds.Max.X = drawer.width
println("aaa")
} else {
drawer.layoutBounds.Max.X = horizontalExtent
}