A wizard adds touch events, including clicking and double clicking to perform different effects, but double clicking triggers clicking events. How can I avoid triggering clicking events when double clicking
Develop games in your browser. Powerful, performant & highly capable.
I use timers, but they don't work
You can do this:
Thank you. I tested this method and it worked perfectly. There will be a delay in waiting for one second. I try to change one second to 0.2. At present, there is no problem in running
0.2s is too fast for double-click. The default delay for double-click in Windows is 0.5s
OK, I use it to make teaching courseware, so it can be used normally now. Have a good day