Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5
On my devices (ipad, android phone, desktop) it looks as if the canvas has been zoomed in, along with the dots appearing off to the right of the point where I touch the screen. Lines 15 and 16 are causing the problem. canvas.style.height = (screen.height - gapY) + "px"; canvas.style.width = screen.width + "px"; Instead of canvas.style.height/width you should use canvas.height and canvas.width https://code.sololearn.com/Wyr406XbqLa3
9th Aug 2021, 2:06 PM
ODLNT
ODLNT - avatar
+ 3
I also noticed that issue... Maybe that is due to the dot size...
9th Aug 2021, 1:47 PM
Anas Dharar
Anas Dharar - avatar
+ 2
You are very welcome. Keep up the good work!
9th Aug 2021, 4:01 PM
ODLNT
ODLNT - avatar
+ 2
yeah it's very compiler
11th Aug 2021, 2:16 AM
Mamadou Alpha Barry
Mamadou Alpha Barry - avatar