Fixed not setting text drawer max size properly
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user