+ 1

How to get rid of lags in touchmove event in javascript ?

Please help me to get rid of lags in touchmove event in javascript . Also please help me to debug this code ( only comment the bugs ). Code url : https://code.sololearn.com/WcCW9c5a87LV/?ref=app

30th Aug 2021, 2:13 PM
Parth Shendge
2 odpowiedzi
+ 10
I can't find any lags on my Android device. It looks as fast as it can be. There are many different "Paint" implementations in this app. Have you tried them? Do they also work with lags?
30th Aug 2021, 3:06 PM
Igor Makarsky
Igor Makarsky - avatar
0
Change the brush , click on the menu , then click the brush button , then change the brush, you will experience lags . I want solution for them . You can see the lags , I swiped randomly but I got these dots instead of random curves . https://www.sololearn.com/post/1263926/?ref=app
30th Aug 2021, 4:04 PM
Parth Shendge