We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draw
85c0f44
go version
go version go1.22.2 darwin/arm64
Run this test:
func TestGeoM(t *testing.T) { img := ebiten.NewImage(30, 30) op := &text.DrawOptions{} text.Draw(img, "Hello", text.NewGoXFace(bitmapfont.Face), op) if got, want := op.GeoM, (ebiten.GeoM{}); got != want { t.Errorf("got: %v, want: %v", got, want) } }
The test passes
The test fails
--- FAIL: TestGeoM (0.00s) text_test.go:367: got: {0 0 0 0 24 0}, want: {0 0 0 0 0 0} FAIL
@eihigh reported this. Thanks!
The text was updated successfully, but these errors were encountered:
2b9e307
text/v2: bug fix: given options were unexpectedly modified
106f3e1
Closes #2954
No branches or pull requests
Ebitengine Version
85c0f44
Operating System
Go Version (
go version
)go version go1.22.2 darwin/arm64
What steps will reproduce the problem?
Run this test:
What is the expected result?
The test passes
What happens instead?
The test fails
Anything else you feel useful to add?
@eihigh reported this. Thanks!
The text was updated successfully, but these errors were encountered: