upgrade in the skill tree should need a double tap on Android, the first click should not buy #162
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Done in
3fcc26c, live at https://metaheavens.de/spaceship/One physical tap was arriving twice. Godot emulates a mouse button from every touch and a touch from every mouse button - both project settings are on - and the research menu's dispatcher routes
InputEventScreenTouchandInputEventMouseButtonalike to the tree. The second arrival found the node already selected, took itself for the confirming tap, and bought the research on first touch.Measured rather than reasoned about: one tap produced two picks and two confirms.
What is ignored now is specifically the twin - same frame, same place, arriving through the other input kind. My first attempt deduped on frame and position alone, and that swallowed two genuine taps landing in one frame; the test caught it.
Worth flagging separately:
IconButtonsits under the same duplicated stream and behaves unpredictably in it (a probe measured zero presses for one tap). Buttons work in practice, so something about the real device ordering saves them - but the duplication is systemic, not specific to this menu, and deciding whether to turn one of the two emulation settings off is its own change rather than something to slip into a UX ticket.