Skip to content

Commit

Permalink
Merge pull request fyne-io#4581 from josharian/josh/canvas-size-darwin
Browse files Browse the repository at this point in the history
  • Loading branch information
andydotxyz authored Jan 29, 2024
2 parents ca8e5b0 + 352ea55 commit ff168a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/driver/glfw/glfw_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func assertCanvasSize(t *testing.T, w *window, size fyne.Size) {
}

func ensureCanvasSize(t *testing.T, w *window, size fyne.Size) {
if runtime.GOOS == "linux" {
if runtime.GOOS == "linux" || runtime.GOOS == "darwin" {
// TODO: find the root cause for these problems and solve them without additional repaint
// fixes issues where the window does not have the correct size
waitForCanvasSize(t, w, size, true)
Expand Down

0 comments on commit ff168a0

Please sign in to comment.