+ 1
[Solved]Am I missing something in my code?
I am unable to figure out why stars are coming in half screen only. Please anyone figure it out for me. https://code.sololearn.com/Wje3t1Wz6l1R/?ref=app
6 Answers
+ 2
Tarun Pandey nothing just re run the code after once editing
If you make any edit then the canvas renders half at first run for you i don't know why but I myself noticed that if you run your code again then it renders full
+ 3
Tarun Pandey Your code works perfectly fine for Android ...
+ 3
That's a problem with canvas/js it renders half wrt screen height at first if you make any edit in code it will work fine if you re run the code :)
+ 2
AtulđŠ What edit should I make?
+ 2
Thanks AtulđŠ and everyone for your answers...
0
Simba No not for me, whether it worked for you?