rename Text.LineHeight(scale) -> height, since now it's absolute height
This commit is contained in:
parent
c0378a703e
commit
6ce4094935
|
@ -143,8 +143,8 @@ func (txt *Text) Color(c color.Color) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (txt *Text) LineHeight(scale float64) {
|
func (txt *Text) LineHeight(height float64) {
|
||||||
txt.lineHeight = scale
|
txt.lineHeight = height
|
||||||
}
|
}
|
||||||
|
|
||||||
func (txt *Text) TabWidth(width float64) {
|
func (txt *Text) TabWidth(width float64) {
|
||||||
|
|
Loading…
Reference in New Issue