From d02960eb571e26e1a88f63a12216d6fe4b28e9e5 Mon Sep 17 00:00:00 2001 From: Zyko <13394516+Zyko0@users.noreply.github.com> Date: Wed, 18 Sep 2024 21:28:10 +0200 Subject: [PATCH] Fixed missing import --- text/v2/gotextseg.go | 1 + text/v2/text_test.go | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/text/v2/gotextseg.go b/text/v2/gotextseg.go index 881ef0a40..afc17087a 100644 --- a/text/v2/gotextseg.go +++ b/text/v2/gotextseg.go @@ -21,6 +21,7 @@ import ( "github.com/go-text/typesetting/font/opentype" "golang.org/x/image/math/fixed" + gvector "golang.org/x/image/vector" "github.com/hajimehoshi/ebiten/v2/vector" ) diff --git a/text/v2/text_test.go b/text/v2/text_test.go index 8ae64be56..fdd57859b 100644 --- a/text/v2/text_test.go +++ b/text/v2/text_test.go @@ -450,7 +450,6 @@ func TestGoXFaceMetrics(t *testing.T) { } } - func BenchmarkDrawText(b *testing.B) { var txt string for i := 0; i < 32; i++ {