davidcalhoun / touche

Touché: bringing touch events to non-touch browsers (how touching!). No dependencies. No code bloat.
MIT License
144 stars 16 forks source link

keep same uuid #5

Open weepy opened 11 years ago

weepy commented 11 years ago

AFAIK the identifier for each touch should stay the same, between touchstart and touchmove. I.e. finger 1 pressed and we get identifier = 325, when that finger moves we should get a changedTouches with a touch with identifier at 325. Seems to me that Touche creates a uuid each time ?

weepy commented 11 years ago

I changed line 31 to

identifier: 1,

which seems to work for me.