render box labels directly to renderer
This commit is contained in:
parent
21986dbce7
commit
e11622c154
1 changed files with 1 additions and 1 deletions
2
draw.go
2
draw.go
|
@ -288,7 +288,7 @@ func (d draw) TextWithin(r Renderer, text string, box Box, style Style) {
|
||||||
ty = y
|
ty = y
|
||||||
}
|
}
|
||||||
|
|
||||||
d.Text(r, line, tx, ty, style)
|
r.Text(line, tx, ty)
|
||||||
y += lineBox.Height() + style.GetTextLineSpacing()
|
y += lineBox.Height() + style.GetTextLineSpacing()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue