Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
2 changes: 1 addition & 1 deletion bin/go
2 changes: 1 addition & 1 deletion bin/gofmt
2 changes: 1 addition & 1 deletion e2e/play/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ end
test("dialogs", async ({ page, baseURL }, testInfo) => {
await page.goto(baseURL)
await page.waitForLoadState("networkidle")
await expect(page).toHaveScreenshot("no-dialog.png")
await expect(page).toHaveScreenshot("no-dialog.png", { maxDiffPixelRatio: 0.01 })

// show sidebar
if (testInfo.project.name != "ios") {
Expand Down
16 changes: 12 additions & 4 deletions frontend/lab/samples/ifs/img/randrect.evy
Original file line number Diff line number Diff line change
@@ -1,11 +1,19 @@
fill (hsl 270 100 50 10)
width 0.2
for range 60
x := (rand1) * 100
y := (rand1) * 100
s1 := (rand1) * 25 + 2
s2 := (rand1) * 25 + 2
x := roundedRand1 * 100
y := roundedRand1 * 100
s1 := roundedRand1 * 25 + 2
s2 := roundedRand1 * 25 + 2

move x-s1*0.5 y-s2*0.5
rect s1 s2
end

// roundedRand1 is a rounding rand1 function, to avoid rounding differences on
// Mac and Linux.
func roundedRand1:num
r := rand1 * 1024
r = round r
return r / 1024
end
Loading