Hi Thunkable folks,
I have a simple drawing app that has a funny bug in it. The same app worked about a year ago, so it seems like it is potentially due to a Thunkable change.
You can find the app here: Thunkable
This app runs fine for me on my device, but it crashes immediately in the Web Preview. I have determined the the culprit is setting a Canvas Stage’s “drawing color” when the screen is opening. This crashes the web preview:
The problem is that I want to have an “options” screen, and I need to set the drawing color when I return from that options screen. So I need to set the color on Screen Open - and I’m not sure what other event to use so it’s set appropriately. The crash is avoided if I stick a “wait 1 second” block at the top - I assume this gives the canvas a moment to load first - but feels like a hack.
Any ideas?