+ 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

25th Mar 2022, 5:21 AM
C O F F E E ✨
C O F F E E ✨ - avatar
0 ответов