+ 2
What's wrong with this canvas code? Help Me PlEaSe
I wrote a simple code for dragging squares around the canvas: https://code.sololearn.com/WdtdAHJCBEav/?ref=app It works, I can drag squares, but there are very frequent misstouches. I mean, when i check the coordinates of user touch in "touchstart" for matching square coordinates, the condition returns false, even if the touch matches square . Please help
0 ответов