0

Why the lines drawn are not smooth/acurate

https://code.sololearn.com/WBN6HeEP4Bx8/?ref=app Why there is a high gap between coordinates when each time touchmove event got triggered

27th Sep 2020, 2:37 PM
Ayush kumar
Ayush kumar - avatar
2 Respostas
+ 1
Add touch-action:none to canvas element , browser events are inteferrring with touchmove event ,and so setting touch-action to none prevents them to do so ,I had a similar problem yesterday
27th Sep 2020, 2:57 PM
Abhay
Abhay - avatar
0
Thanks Its work fine now 😃
27th Sep 2020, 3:18 PM
Ayush kumar
Ayush kumar - avatar