diff --git a/text/text.go b/text/text.go index ae37b145afed9935ce70e00bc2b8fb643ef5c1d1..83c980113ef4fd31db620ac1e1ec9f27c97b639e 100644 --- a/text/text.go +++ b/text/text.go @@ -143,8 +143,8 @@ func (txt *Text) Color(c color.Color) { } } -func (txt *Text) LineHeight(scale float64) { - txt.lineHeight = scale +func (txt *Text) LineHeight(height float64) { + txt.lineHeight = height } func (txt *Text) TabWidth(width float64) {