fix(wildlife): the card test's click carries the exact top hit the layer now reads

4f24b9a06 made a wildlife tap read the click's exact top hit; the card
test still handed only the touch search's id, so its clicks opened no card.
This commit is contained in:
Sameh Khamis committed 2026-11-14 09:10:09 -08:00
1 parent e72de07dab
commit bb2d22dbce
1 file changed
+6 -1
+6 -1
View File
@@ -217,7 +217,12 @@ function fixture(
}),
}
: null;
onClick({ screenPosition: { x: 50, y: 50 }, id: picked });
// What is exactly under the click, as the layer reads it.
onClick({
screenPosition: { x: 50, y: 50 },
topHit: { set: 'wildlife', id: picked },
id: picked,
});
await settle();
},
async publish(next) {