solitaire: let cards be dragged, not only tapped
Tapping stays exactly as it was. A press that travels more than a few pixels becomes a drag instead, and both paths go through the same pick() and accepts(), so what lights up and what a move means never depends on how you did it. The run follows the pointer as a copy while the real cards stay on the felt, faded, and letting go over nothing keeps the run in your hand with the targets still lit. Capture happens when the press becomes a drag, not on pointerdown: capturing early retargets the click that a tap ends with, and tapping quietly stops working.
This commit is contained in:
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user