Skip to content

Commit

Permalink
Attempting more robust test
Browse files Browse the repository at this point in the history
  • Loading branch information
andydotxyz committed Dec 4, 2024
1 parent 2cccd08 commit 1f96b8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/driver/glfw/window_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1f96b8d

Please sign in to comment.