0
Why the circle is being drawn much lower than the touch position?...(try clicking slowly downward to see the problem)
3 odpowiedzi
+ 3
Rohit Singh Hey, check the corrected code :))
https://code.sololearn.com/Ww1JUJWYRWfO/?ref=app
+ 3
It appears your problem was using CSS to set the canvas width and height.
https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API/Tutorial/Basic_usage
0
Arb Rahim Badsa
Thanks..
Please can u tell what was the problem...
Why my code was not working