From 1f96b8da5cd3b2a47a48f239f9e38337da463290 Mon Sep 17 00:00:00 2001 From: Andy Williams Date: Wed, 4 Dec 2024 19:19:59 +0000 Subject: [PATCH] Attempting more robust test --- internal/driver/glfw/window_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/driver/glfw/window_test.go b/internal/driver/glfw/window_test.go index 645a4ac606..e7afc3e0df 100644 --- a/internal/driver/glfw/window_test.go +++ b/internal/driver/glfw/window_test.go @@ -1113,8 +1113,8 @@ func TestWindow_Tapped(t *testing.T) { func TestWindow_TappedSecondary(t *testing.T) { w := createWindow("Test").(*window) o := &tappableObject{Rectangle: canvas.NewRectangle(color.White)} - o.SetMinSize(fyne.NewSize(100, 100)) w.SetContent(o) + w.Resize(fyne.NewSize(100, 100)) w.mousePos = fyne.NewPos(50, 60) w.mouseClicked(w.viewport, glfw.MouseButton2, glfw.Press, 0)