Hi all,
I’m running into some issues where I have some images (imagine a line of 4 squares across the screen) with touch listeners enabled. I’m finding that if I try and move one quickly, sometimes the “began” and “ended” phases aren’t detected - just the “moved”. So the code that is supposed to reset the dragged square to its original position (when the touch has “ended”) isn’t running - leaving the images stranded where they were dropped.
Anyone seen anything like this before? Seems to happen only when I drag them very quickly.
I was thinking of possible solutions but they don’t seem very elegant. For example, if “moved” is detected, I could set a delayed check for a reasonable time that would put the moved object back if the “ended” code wasn’t run.