Samkeene
06/02/2020, 6:22 PMval canvas = Canvas(1000,200)
add(canvas)
canvasStore.subscribe {
// draw the canvas
}
I'm getting an error in my browser console that the canvas context2D isn't initialized.
If I tie the draw function onto a button it runs fine, but cannot get it it to work when trying to subscribe