From d5761bda94131de55bc8b800e3cfa3cd66eda9ac Mon Sep 17 00:00:00 2001 From: Anten Skrabec Date: Tue, 22 Jun 2021 15:24:08 -0600 Subject: [PATCH] make testing window invisible --- pixel_test.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pixel_test.go b/pixel_test.go index 01b3ae5..3717f26 100644 --- a/pixel_test.go +++ b/pixel_test.go @@ -54,8 +54,9 @@ func TestSprite_Draw(t *testing.T) { sprite := pixel.NewSprite(pic, pic.Bounds()) cfg := pixelgl.WindowConfig{ - Title: "testing", - Bounds: pixel.R(0, 0, 150, 150), + Title: "testing", + Bounds: pixel.R(0, 0, 150, 150), + Invisible: true, } win, err := pixelgl.NewWindow(cfg)