From 6ce4094935b13a27a9f9c2ed0a147f65a0ada430 Mon Sep 17 00:00:00 2001 From: faiface <faiface@ksp.sk> Date: Sun, 7 May 2017 22:03:56 +0200 Subject: [PATCH] rename Text.LineHeight(scale) -> height, since now it's absolute height --- text/text.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/text/text.go b/text/text.go index ae37b14..83c9801 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) { -- GitLab