lvgl / lv_demos

Examples, tutorials and applications for the LVGL embedded GUI library
https://lvgl.io
489 stars 366 forks source link

removed a few bugs when testing the examples on the javascript port #98

Closed uraich closed 3 years ago

uraich commented 3 years ago

I went through the lvgl doc and tried all the Python examples. By doing so I found a few bugs in my code and corrected. I still have problems with the examples using images, where the image files are not found. The following examples work with the unix port but give trouble with the javascript simulator:

embeddedt commented 3 years ago

I will merge it and trigger a rebuild!

uraich commented 3 years ago

Wow, his was fast! I took out the while loop from the label 2 example. What do we have to do to get the images straight? Problems are in

embeddedt commented 3 years ago

I haven't decided for sure yet, but I am thinking I will tweak the JS simulator so that it can behave like the rest of the ports with regards to the images. Otherwise, we will be forced to have a separate set of image URLs and/or examples.