From 5c05f9befe03bb32450e95c04dc705a3f0eec0a6 Mon Sep 17 00:00:00 2001 From: Sameh Khamis Date: Sun, 8 Nov 2026 09:45:47 -0800 Subject: [PATCH] Wait for both ends of the unturned draped fill in the rotation check A draped fill can reach the pick pass tile by tile, so the far end of the wide rectangle was sometimes not pickable yet in the frame the centre was. --- src/render/conformance/checks/ports.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/render/conformance/checks/ports.js b/src/render/conformance/checks/ports.js index d1411f6af..317fa3758 100644 --- a/src/render/conformance/checks/ports.js +++ b/src/render/conformance/checks/ports.js @@ -1489,8 +1489,10 @@ export function portChecks() { return false; }; shapes.set([overlay(undefined)]); + // A draped fill can reach the pick pass tile by tile, so wait for + // both ends, as the turned case below waits for its own. ok(await until(() => mine(at(0))), 'unturned, it draws'); - ok(mine(at(0.003)), 'unturned, it is wide'); + ok(await until(() => mine(at(0.003))), 'unturned, it is wide'); ok(!mine(at(0, 0.003)), 'unturned, it is not tall'); shapes.set([overlay(Math.PI / 2)]); ok(