all: rename layout.Dimens to layout.Dimensions

Dimens is only 4 characters shorter and not worth the abbreviation.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2019-08-30 15:00:17 +02:00
parent 7f29293f16
commit 12089ea62a
10 changed files with 29 additions and 29 deletions
+2 -2
View File
@@ -61,7 +61,7 @@ const (
Middle
)
func linesDimens(lines []Line) layout.Dimens {
func linesDimens(lines []Line) layout.Dimensions {
var width fixed.Int26_6
var h int
var baseline int
@@ -78,7 +78,7 @@ func linesDimens(lines []Line) layout.Dimens {
h += lines[len(lines)-1].Descent.Ceil()
}
w := width.Ceil()
return layout.Dimens{
return layout.Dimensions{
Size: image.Point{
X: w,
Y: h,