mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 08:12:24 +00:00
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:
1 parent
e72de07dab
commit
bb2d22dbce
1 file changed
+6
-1
@@ -217,7 +217,12 @@ function fixture(
|
|||||||
}),
|
}),
|
||||||
}
|
}
|
||||||
: null;
|
: 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();
|
await settle();
|
||||||
},
|
},
|
||||||
async publish(next) {
|
async publish(next) {
|
||||||
|
|||||||
Reference in new issue
Block a user